+2004-11-18 Ben Elliston <bje@au.ibm.com>
+
+ * opts.h (add_input_filename): Remove extern declaration.
+ * opts.c (add_input_filename): Make static.
+
2004-11-17 Mark Mitchell <mark@codesourcery.com>
* config/i386/i386.c (i386_solaris_elf_named_section): Mark with
return result;
}
+/* Handle FILENAME from the command line. */
+static void
+add_input_filename (const char *filename)
+{
+ num_in_fnames++;
+ in_fnames = xrealloc (in_fnames, num_in_fnames * sizeof (in_fnames[0]));
+ in_fnames[num_in_fnames - 1] = filename;
+}
+
/* Decode and handle the vector of command line options. LANG_MASK
contains has a single bit set representing the current
language. */
}
}
-/* Handle FILENAME from the command line. */
-void
-add_input_filename (const char *filename)
-{
- num_in_fnames++;
- in_fnames = xrealloc (in_fnames, num_in_fnames * sizeof (in_fnames[0]));
- in_fnames[num_in_fnames - 1] = filename;
-}
-
/* Parse command line options and set default flag values. Do minimal
options processing. */
void
#define GCC_OPTS_H
extern void decode_options (unsigned int argc, const char **argv);
-extern void add_input_filename (const char *filename);
struct cl_option
{