]> git.ipfire.org Git - thirdparty/gcc.git/commit - libobjc/hash.c
re PR libobjc/19024 (name collisions libobjc/libmysqlclient)
authorDavid Ayers <d.ayers@inode.at>
Wed, 2 Mar 2005 19:37:03 +0000 (20:37 +0100)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Wed, 2 Mar 2005 19:37:03 +0000 (11:37 -0800)
commit270a1283e6ce05c38474011515817f7816c8adb7
treef8c018cf0dc8e69a8a6c34bca7dd95174ee9c3ca
parent13396b14c0ef1eceba7f6e40b947d99b6cdbe387
re PR libobjc/19024 (name collisions libobjc/libmysqlclient)

2005-03-02  David Ayers  <d.ayers@inode.at>

        PR libobjc/19024
        * Makefile.in (OBJS): Add hash_compat.lo.
        (OBJS_GC): Add hash_compat_gc.lo.
        (hash_compat_gc.lo): New target and rule.
        * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
        (hash_next, hash_value_for_key, hash_is_key_in_hash)
        (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
        with objc_.  Add deprecated non prefixed inlined versions.
        (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
        declarations.
        * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
        (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
        update callers.
        * hash_compat.c: New file.
        * archive.c: Update callers.
        * init.c: Likewise.
        * selector.c: Likewise.
        * libobjc.def: Add objc_ versions of hash functions.

From-SVN: r95793
libobjc/ChangeLog
libobjc/Makefile.in
libobjc/archive.c
libobjc/hash.c
libobjc/hash_compat.c [new file with mode: 0644]
libobjc/init.c
libobjc/libobjc.def
libobjc/objc/hash.h
libobjc/selector.c