diff options
Diffstat (limited to 'gcc/fixinc/fixtests.c')
-rw-r--r-- | gcc/fixinc/fixtests.c | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/gcc/fixinc/fixtests.c b/gcc/fixinc/fixtests.c index 1507a166af0..8e8567a1ccc 100644 --- a/gcc/fixinc/fixtests.c +++ b/gcc/fixinc/fixtests.c @@ -73,7 +73,7 @@ static apply_fix_p_t test ( fname, text ) \ * a backslash. Especially a backslash followed by octal digits. * We are not doing a correctness syntax check here. */ -tSCC* +static tSCC* skip_quote( q, text ) char q; char* text; @@ -351,36 +351,3 @@ run_test( tname, fname, text ) tname ); exit( 3 ); } - -/* = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = - - MAIN ROUTINE - - This file is both included in fixincl.c and compiled as a separate - program for use by the inclhack.sh script. - -*/ - -#ifdef MAIN - -int -main( argc, argv ) - int argc; - char** argv; -{ - char* fname = *++argv; - char* tname = *++argv; - char* buf; - - if (argc != 3) - return run_test( "No test name provided", NULL, NULL, 0 ); - - fclose( stdin ); - fclose( stdout ); - - buf = load_file_data (fopen (fname, "r")); - - return run_test( tname, fname, buf ); -} - -#endif |