mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-16 15:53:03 +00:00
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:
@@ -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_ */
|
||||
|
||||
Reference in New Issue
Block a user