]> gcc.gnu.org Git - gcc.git/commitdiff
opts.h (add_input_filename): Remove extern declaration.
authorBen Elliston <bje@au.ibm.com>
Thu, 18 Nov 2004 06:39:47 +0000 (06:39 +0000)
committerBen Elliston <bje@gcc.gnu.org>
Thu, 18 Nov 2004 06:39:47 +0000 (17:39 +1100)
* opts.h (add_input_filename): Remove extern declaration.
* opts.c (add_input_filename): Make static.

From-SVN: r90850

gcc/ChangeLog
gcc/opts.c
gcc/opts.h

index fd5b6b7d012dd548f1b43c65aa6284481fb5a4c5..490c90ce1dd3cf7c731a1a69797848c5d6282557 100644 (file)
@@ -1,3 +1,8 @@
+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
index 21b5b7bc0e397a81ca4d331de75a48ce9df53ab0..188ad29a8ade3b1c4e3a1b0d47942bb3018a61e0 100644 (file)
@@ -387,6 +387,15 @@ handle_option (const char **argv, unsigned int lang_mask)
   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.  */
@@ -419,15 +428,6 @@ handle_options (unsigned int argc, const char **argv, unsigned int lang_mask)
     }
 }
 
-/* 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
index e558a4ab34b67f71793a9e468a98b6e49d5bc9bd..e1e921babe08c05a153019ce5a161ddd7df0e588 100644 (file)
@@ -22,7 +22,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #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
 {
This page took 0.083154 seconds and 5 git commands to generate.