diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-17 18:07:01 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-17 18:07:01 +0000 |
commit | d3371fcdcc3bd30574a2659c8ada4285dafc0afd (patch) | |
tree | ac2f99f989f1e0a7e29071f30fbda71a9b47deb7 /gcc/fix-header.c | |
parent | 9371e4aba42ee62a0ec71ebc45981c3ceb57807c (diff) | |
download | gcc-d3371fcdcc3bd30574a2659c8ada4285dafc0afd.tar.gz |
* final.c: Fix formatting.
* fix-header.c: Likewise.
* flow.c: Likewise.
* fold-const.c: Likewise.
* function.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53563 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fix-header.c')
-rw-r--r-- | gcc/fix-header.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c index 6d054b5c107..ba4ba6a6dee 100644 --- a/gcc/fix-header.c +++ b/gcc/fix-header.c @@ -411,10 +411,10 @@ int lbrac_line, rbrac_line; int required_unseen_count = 0; int required_other = 0; -static void +static void write_lbrac () { - + #if ADD_MISSING_EXTERN_C if (missing_extern_C_count + required_unseen_count > 0) fprintf (outf, "#ifdef __cplusplus\nextern \"C\" {\n#endif\n"); @@ -546,7 +546,7 @@ recognized_function (fname, line, kind, have_arg_list) /* If we have a full prototype, we're done. */ if (have_arg_list) return; - + if (kind == 'I') /* don't edit inline function */ return; @@ -619,7 +619,7 @@ read_scan_file (in_fname, argc, argv) int i; struct symbol_list *cur_symbols; - obstack_init (&scan_file_obstack); + obstack_init (&scan_file_obstack); scan_in = cpp_create_reader (CLK_GNUC89); cb = cpp_get_callbacks (scan_in); @@ -701,7 +701,7 @@ read_scan_file (in_fname, argc, argv) if (required_unseen_count + partial_count + required_other #if ADD_MISSING_EXTERN_C + missing_extern_C_count -#endif +#endif == 0) { if (verbose) @@ -1084,8 +1084,8 @@ main (argc, argv) progname = 0; for (p = argv[0]; *p; p++) - if (*p == '/') - progname = p; + if (*p == '/') + progname = p; progname = progname ? progname+1 : argv[0]; } @@ -1114,7 +1114,7 @@ main (argc, argv) exit (SUCCESS_EXIT_CODE); } } - + } #endif @@ -1148,7 +1148,7 @@ main (argc, argv) else symbol_table[0].names = NULL; - /* Count and mark the prototypes required for this include file. */ + /* Count and mark the prototypes required for this include file. */ for (cur_symbols = &symbol_table[0]; cur_symbols->names; cur_symbols++) { int name_len; @@ -1313,7 +1313,7 @@ v_fatal (str, ap) fprintf (stderr, "%s: %s: ", progname, inc_filename); vfprintf (stderr, str, ap); fprintf (stderr, "\n"); - + exit (FATAL_EXIT_CODE); } |