diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-03-18 21:51:04 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-03-18 21:51:04 +0000 |
commit | ce1f5b2a4ed4f8f9b921be61e3b33d9c2fcb6845 (patch) | |
tree | 62c8d6f129c503eb52f9b5aa708345961c85b1ea /binutils | |
parent | 0915c8433b271bf16302ab09801241d19ce37fb1 (diff) | |
download | gdb-ce1f5b2a4ed4f8f9b921be61e3b33d9c2fcb6845.zip gdb-ce1f5b2a4ed4f8f9b921be61e3b33d9c2fcb6845.tar.gz gdb-ce1f5b2a4ed4f8f9b921be61e3b33d9c2fcb6845.tar.bz2 |
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.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/acconfig.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/acconfig.h b/binutils/acconfig.h index a3e0eab..6ae3d76 100644 --- a/binutils/acconfig.h +++ b/binutils/acconfig.h @@ -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>? */ |