* collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.

From-SVN: r18892
This commit is contained in:
Jeffrey A Law 1998-03-29 11:49:10 +00:00 committed by Jeff Law
parent c80150b791
commit 40c3a857ac
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,7 @@
Sun Mar 29 12:45:23 1998 Jeffrey A Law (law@cygnus.com)
* collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.
* local-alloc.c (reg_classes_overlap_p): Delete dead function.
* tree.h (lang_print_xnode): Provide prototype.

View File

@ -293,7 +293,6 @@ static void add_to_list PROTO((struct head *, char *));
static void write_list PROTO((FILE *, char *, struct id *));
static void dump_list PROTO((FILE *, char *, struct id *));
static void dump_prefix_list PROTO((FILE *, char *, struct prefix_list *));
static int is_in_list PROTO((char *, struct id *));
static void write_list_with_asm PROTO((FILE *, char *, struct id *));
static void write_c_file PROTO((FILE *, char *));
static void scan_prog_file PROTO((char *, enum pass));
@ -301,6 +300,7 @@ static void scan_prog_file PROTO((char *, enum pass));
static void scan_libraries PROTO((char *));
#endif
#ifdef COLLECT_EXPORT_LIST
static int is_in_list PROTO((char *, struct id *));
static void write_export_file PROTO((FILE *));
static void write_import_file PROTO((FILE *));
static char *resolve_lib_name PROTO((char *));
@ -1871,6 +1871,7 @@ write_list (stream, prefix, list)
}
}
#ifdef COLLECT_EXPORT_LIST
/* This function is really used only on AIX, but may be useful. */
static int
is_in_list (prefix, list)
@ -1884,6 +1885,7 @@ is_in_list (prefix, list)
}
return 0;
}
#endif
/* Added for debugging purpose. */
static void