From c3fb23f4412328c8079c4990059f7217302ea0d4 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sun, 4 Nov 2001 02:47:36 +0000 Subject: Makefile.in (dbxout.o): Depend on function.h. * Makefile.in (dbxout.o): Depend on function.h. * collect2.c (is_in_list): Hide unused function. * dbxout.c: Include function.h. (source_label_number, dbxout_source_line, dbxout_source_file, dbxout_function_end, dbxout_begin_function): Wrap/move inside macros controlling usage. * gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining. * output.h (exports_section): Prototype. From-SVN: r46759 --- gcc/collect2.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/collect2.c') diff --git a/gcc/collect2.c b/gcc/collect2.c index 1bd8a45..5821dd1 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -300,7 +300,9 @@ static void scan_libraries PARAMS ((const char *)); static int is_in_args PARAMS ((const char *, const char **, const char **)); #endif #ifdef COLLECT_EXPORT_LIST +#if 0 static int is_in_list PARAMS ((const char *, struct id *)); +#endif static void write_aix_file PARAMS ((FILE *, struct id *)); static char *resolve_lib_name PARAMS ((const char *)); static int ignore_library PARAMS ((const char *)); @@ -1754,6 +1756,7 @@ is_in_args (string, args_begin, args_end) #ifdef COLLECT_EXPORT_LIST /* This function is really used only on AIX, but may be useful. */ +#if 0 static int is_in_list (prefix, list) const char *prefix; @@ -1767,6 +1770,7 @@ is_in_list (prefix, list) return 0; } #endif +#endif /* COLLECT_EXPORT_LIST */ /* Added for debugging purpose. */ #ifdef COLLECT_EXPORT_LIST -- cgit v1.1