aboutsummaryrefslogtreecommitdiff
path: root/gcc/fix-header.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2002-05-17 18:07:01 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2002-05-17 18:07:01 +0000
commitdd3f0101652432c1da354268600ccde52d834256 (patch)
treeac2f99f989f1e0a7e29071f30fbda71a9b47deb7 /gcc/fix-header.c
parent5ca9299f10baafa4f376871390638fd5dcf42cde (diff)
downloadgcc-dd3f0101652432c1da354268600ccde52d834256.zip
gcc-dd3f0101652432c1da354268600ccde52d834256.tar.gz
gcc-dd3f0101652432c1da354268600ccde52d834256.tar.bz2
final.c: Fix formatting.
* final.c: Fix formatting. * fix-header.c: Likewise. * flow.c: Likewise. * fold-const.c: Likewise. * function.c: Likewise. From-SVN: r53563
Diffstat (limited to 'gcc/fix-header.c')
-rw-r--r--gcc/fix-header.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c
index 6d054b5..ba4ba6a 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);
}