mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
ce1f5b2a4e
* 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.
26 lines
738 B
C
26 lines
738 B
C
|
|
/* Whether strstr must be declared even if <string.h> is included. */
|
|
#undef NEED_DECLARATION_STRSTR
|
|
|
|
/* Whether fprintf must be declared even if <stdio.h> is included. */
|
|
#undef NEED_DECLARATION_FPRINTF
|
|
|
|
/* 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>? */
|
|
#undef HAVE_TIME_T_IN_TIME_H
|
|
|
|
/* Is the type time_t defined in <sys/types.h>? */
|
|
#undef HAVE_TIME_T_IN_TYPES_H
|
|
|
|
/* Does <utime.h> define struct utimbuf? */
|
|
#undef HAVE_GOOD_UTIME_H
|
|
|
|
/* Do we need to use the b modifier when opening binary files? */
|
|
#undef USE_BINARY_FOPEN
|