From 8f71a36f710b6196b4854760785c614910da3ff7 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 20 Apr 2004 07:09:31 +0000 Subject: Remove stray white spaces. --- tools/cpu/sh/shgen.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tools/cpu/sh/shgen.c') diff --git a/tools/cpu/sh/shgen.c b/tools/cpu/sh/shgen.c index 73c8a4f027..b4ab34b5cd 100644 --- a/tools/cpu/sh/shgen.c +++ b/tools/cpu/sh/shgen.c @@ -44,12 +44,12 @@ static struct option long_options[] = static void shgen_header( FILE *file ) { - fprintf( file, + fprintf( file, "/*\n * DO NOT EDIT - this file is automatically generated by shgen %s\n", VERSION ); fprintf( file, " * Copyright (c) 1998,1999,2000 Ralf Corsepius (corsepiu@faw.uni-ulm.de)\n */\n" ); - fprintf( file, + fprintf( file, "\n/* This file is not copyrighted */\n\n" ); } @@ -57,7 +57,7 @@ int main( int argc, char *argv[] ) { double Phi = 20000000.0 ; -#if HAVE_GETOPT_LONG +#if HAVE_GETOPT_LONG int option_index = 0 ; while( ( optopt = getopt_long( argc, argv, "M:K:H:hv", long_options, &option_index ) ) > 0 ) @@ -68,11 +68,11 @@ int main( int argc, char *argv[] ) switch ( optopt ) { case 'M' : - sscanf( optarg, "%lf", &Phi ); + sscanf( optarg, "%lf", &Phi ); Phi = Phi * 1000000.0; break ; case 'K' : - sscanf( optarg, "%lf", &Phi ); + sscanf( optarg, "%lf", &Phi ); Phi = Phi * 1000.0; break ; case 'H' : @@ -96,9 +96,9 @@ int main( int argc, char *argv[] ) fprintf( stderr, "%s: Missing argument: driver\n", argv[0] ); exit(1); } - + shgen_header( stdout ); - + if ( strcmp( argv[optind], "sci" ) == 0 ) { shgen_gensci( stdout, Phi ); @@ -108,6 +108,6 @@ int main( int argc, char *argv[] ) fprintf( stderr, "%s: Invalid argument: driver\n", argv[0] ); exit(1); } - + return 0 ; } -- cgit v1.2.3