diff options
author | Ben Elliston <bje@au.ibm.com> | 2004-11-18 06:39:47 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2004-11-18 17:39:47 +1100 |
commit | 2715d4a35d2b3dc3bd683c58a0c13319b7f9da67 (patch) | |
tree | 276b52a836eed2ebc477700a5c417a04ea5ed166 /gcc/opts.c | |
parent | 21a0c6e02e954af433961f306e18cbc96f31cab5 (diff) | |
download | gcc-2715d4a35d2b3dc3bd683c58a0c13319b7f9da67.zip gcc-2715d4a35d2b3dc3bd683c58a0c13319b7f9da67.tar.gz gcc-2715d4a35d2b3dc3bd683c58a0c13319b7f9da67.tar.bz2 |
opts.h (add_input_filename): Remove extern declaration.
* opts.h (add_input_filename): Remove extern declaration.
* opts.c (add_input_filename): Make static.
From-SVN: r90850
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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 |