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.
This commit is contained in:
Akim Demaille
2001-12-10 09:05:47 +00:00
parent 75addd5e5f
commit a870c5670e
6 changed files with 36 additions and 23 deletions

View File

@@ -57,6 +57,6 @@ extern struct option *longopts;
extern const struct option_table_struct option_table[];
/* Set the longopts variable from option_table. */
void create_long_option_table PARAMS (());
void create_long_option_table PARAMS ((void));
#endif /* !OPTIONS_H_ */