This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH libobjc] Update deprecated version reference
- From: David Ayers <d dot ayers at inode dot at>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 03 Mar 2005 19:25:52 +0100
- Subject: [PATCH libobjc] Update deprecated version reference
Hello,
This updates comment about which version these functions were first
deprecated in to reflect the back port.
Committed as obvious on mainline and the 4_0-branch.
Cheers,
David Ayers
2005-03-03 David Ayers <d.ayers@inode.at>
* objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
version reference. Correct typo.
Index: libobjc/objc/hash.h
===================================================================
RCS file: /cvs/gcc/gcc/libobjc/objc/hash.h,v
retrieving revision 1.12
diff -u -r1.12 hash.h
--- libobjc/objc/hash.h 2 Mar 2005 19:37:03 -0000 1.12
+++ libobjc/objc/hash.h 3 Mar 2005 15:58:47 -0000
@@ -208,7 +208,7 @@
}
#ifndef OBJC_IGNORE_DEPRECATED_API
-/* Deprecated as of 4.1 */
+/* Deprecated as of 4.0 */
static inline cache_ptr
hash_new (unsigned int size,
@@ -305,7 +305,7 @@
{
return objc_compare_strings (k1, k2);
}
-#endif /* IGNORE_DEPRECATED_API */
+#endif /* OBJC_IGNORE_DEPRECATED_API */
#ifdef __cplusplus