mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 04:25:10 +08:00
Tue Mar 18 16:39:55 1997 H.J. Lu <hjl@lucon.org>
* Many files: Add function prototypes. * ar.c (mri_emul, get_pos_bfd): Make static. * arlex.l: Include "libiberty.h". Don't declare strdup. Use xstrdup rather than strdup. * arparse.y (yyerror): Make argument const. Correct typo. * arsup.c (strdup): Don't declare. (ar_save): Use xstrdup rather than strdup. * filemode.c: Include "bucomm.h". * nm.c (usage): Make static. (print_symname): Make format and name const. * objcopy.c (cat): Remove. (copy_archive): Make output_target const. Use concat, not cat. (copy_file, simple_copy, smart_rename): Make arguments const. * objdump.c (read_section_stabs): Likewise. (print_section_stabs): Likewise. (display_target_tables): Don't declare getenv. * strings.c (strings_object_file): Change file to const. (print_strings): Change filename to const. * Makefile.in: Rebuild dependencies. Tue Mar 18 11:37:24 1997 Ian Lance Taylor <ian@cygnus.com> * configure.in: Add BFD_NEED_DECLARATION(getenv). * acconfig.h: Add NEED_DECLARATION_GETENV. * bucomm.h (getenv): Declare if NEED_DECLARATION_GETENV. * configure, config.in: Rebuild. * nlmconv.c (getenv): Don't declare.
This commit is contained in:
parent
0915c8433b
commit
ce1f5b2a4e
@ -7,6 +7,9 @@
|
||||
|
||||
/* Whether sbrk must be declared even if <unistd.h> is included. */
|
||||
#undef NEED_DECLARATION_SBRK
|
||||
|
||||
/* Whether getenv must be declared even if <stdlib.h> is included. */
|
||||
#undef NEED_DECLARATION_GETENV
|
||||
@TOP@
|
||||
|
||||
/* Is the type time_t defined in <time.h>? */
|
||||
|
Loading…
Reference in New Issue
Block a user