]> git.saurik.com Git - bison.git/commit - lib/hash.c
Clean up GCC warnings.
authorAkim Demaille <akim@epita.fr>
Mon, 10 Dec 2001 09:05:47 +0000 (09:05 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 10 Dec 2001 09:05:47 +0000 (09:05 +0000)
commita870c5670ed51b4069baf8268d6fc6efa38fc95a
treeed3054ea1a5e04ff50fe804338625cc14d16d1a6
parent75addd5e5ff4d9970557213e709204e9064c48d8
Clean up GCC warnings.
* src/reader.c (copy_action): `buf' is not used.
(parse_skel_decl): Be static.
* src/muscle_tab.c (mhash1, mhash2, muscle_insert): Preserve `const'.
* src/options.h (create_long_option_table): Have a real prototype.
* lib/hash.c, lib/hash.h (hash_insert, hash_insert_at, hash_delete)
(hash_delete_at): Return const void *.
Adjust casts to preserve the const.
ChangeLog
lib/hash.c
lib/hash.h
src/muscle_tab.c
src/options.h
src/reader.c