diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 06:41:30 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 06:41:30 +0000 |
commit | a14d555c873398b14776ca4f2c33f9c69617afb9 (patch) | |
tree | 350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/error | |
parent | f3a2b348daf9fa6063c38d2d69563f732a2f80e7 (diff) | |
download | FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.zip FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'usr.bin/error')
-rw-r--r-- | usr.bin/error/error.h | 6 | ||||
-rw-r--r-- | usr.bin/error/input.c | 14 | ||||
-rw-r--r-- | usr.bin/error/main.c | 4 | ||||
-rw-r--r-- | usr.bin/error/pi.c | 6 | ||||
-rw-r--r-- | usr.bin/error/subr.c | 6 |
5 files changed, 18 insertions, 18 deletions
diff --git a/usr.bin/error/error.h b/usr.bin/error/error.h index 7ceb2a2..d72e5bf 100644 --- a/usr.bin/error/error.h +++ b/usr.bin/error/error.h @@ -119,7 +119,7 @@ extern char *scriptname; extern boolean query; extern boolean terse; int inquire(); /* inquire for yes/no */ -/* +/* * codes for inquire() to return */ #define Q_NO 1 /* 'N' */ @@ -171,7 +171,7 @@ extern struct lang_desc lang_table[]; #define ERRORNAME "/.errorrc" int nignored; char **names_ignored; -/* +/* * Structure definition for a full error */ typedef struct edesc Edesc; @@ -193,7 +193,7 @@ struct edesc{ */ extern int nerrors; extern Eptr er_head; -extern Eptr *errors; +extern Eptr *errors; /* * Resources for each of the files mentioned */ diff --git a/usr.bin/error/input.c b/usr.bin/error/input.c index a83013a..6edd5f7 100644 --- a/usr.bin/error/input.c +++ b/usr.bin/error/input.c @@ -102,7 +102,7 @@ eaterrors(r_errorc, r_errorv) else errorclass = catchall(); if (wordc) - erroradd(wordc, wordv+1, errorclass, C_UNKNOWN); + erroradd(wordc, wordv+1, errorclass, C_UNKNOWN); } #ifdef FULLDEBUG printf("%d errorentrys\n", nerrors); @@ -176,7 +176,7 @@ Errorclass onelong() if (strcmp(wordv[1], "Assembler:") == 0){ /* assembler always alerts us to what happened*/ language = INAS; return(C_SYNC); - } else + } else if (strcmp(wordv[1], "Undefined:") == 0){ /* loader complains about unknown symbols*/ language = INLD; return(C_SYNC); @@ -206,7 +206,7 @@ Errorclass onelong() Errorclass cpp() { - /* + /* * Now attempt a cpp error message match * Examples: * ./morse.h: 23: undefined control @@ -297,7 +297,7 @@ Errorclass lint0() /* * Attempt a match for the new lint style normal compiler * error messages, of the form - * + * * printf("%s(%d): %s\n", filename, linenumber, message); */ if (wordc >= 2){ @@ -371,7 +371,7 @@ Errorclass lint2() * * bufp defined( "./metric.h"(10) ), but never used */ - if ( (lastchar(wordv[2]) == '(' /* ')' */ ) + if ( (lastchar(wordv[2]) == '(' /* ')' */ ) && (strcmp(wordv[4], "),") == 0) ){ language = INLINT; if (persperdexplode(wordv[3], &line, &file)){ @@ -461,13 +461,13 @@ Errorclass ri() * Match an error message produced by ri; here is the * procedure yanked from the distributed version of ri * April 24, 1980. - * + * * serror(str, x1, x2, x3) * char str[]; * char *x1, *x2, *x3; * { * extern int yylineno; - * + * * putc('"', stdout); * fputs(srcfile, stdout); * putc('"', stdout); diff --git a/usr.bin/error/main.c b/usr.bin/error/main.c index fe20c37..0ba1be6 100644 --- a/usr.bin/error/main.c +++ b/usr.bin/error/main.c @@ -73,7 +73,7 @@ int errorsort(); void onintr(); /* * error [-I ignorename] [-n] [-q] [-t suffixlist] [-s] [-v] [infile] - * + * * -T: terse output * * -I: the following name, `ignorename' contains a list of @@ -155,7 +155,7 @@ main(argc, argv) ignorename = argv[1]; break; } - } + } if (notouch) suffixlist = 0; if (argc > 1){ diff --git a/usr.bin/error/pi.c b/usr.bin/error/pi.c index 67778a4..4fd70f9 100644 --- a/usr.bin/error/pi.c +++ b/usr.bin/error/pi.c @@ -80,7 +80,7 @@ static char **c_header = &unk_hdr[0]; * define msg = .* * define digit = [0-9] * definename = .* - * define date_format letter*3 letter*3 (digit | (digit digit)) + * define date_format letter*3 letter*3 (digit | (digit digit)) * (digit | (digit digit)):digit*2 digit*4 * * {e,E} (piptr) (msg) Encounter an error during textual scan @@ -91,7 +91,7 @@ static char **c_header = &unk_hdr[0]; * ... (msg) When refer to the previous line * 'In' ('procedure'|'function'|'program') (name): * pi is now complaining about 2nd pass errors. - * + * * Here is the output from a compilation * * @@ -291,7 +291,7 @@ Errorclass pi() * * Turns into a message of the form: * filename (header) letter - message - * + * * First, see if it is a message referring to more than * one line number. Only of the form: * %s undefined on line%s diff --git a/usr.bin/error/subr.c b/usr.bin/error/subr.c index 6346e04..29b416a 100644 --- a/usr.bin/error/subr.c +++ b/usr.bin/error/subr.c @@ -206,7 +206,7 @@ boolean persperdexplode(string, r_perd, r_pers) *r_pers = strsave(string); *cp = '('; return(TRUE); - } + } } return(FALSE); } @@ -237,7 +237,7 @@ boolean qpersperdexplode(string, r_perd, r_pers) *r_pers = strsave(string + 1); *(cp - 1) = '"'; return(TRUE); - } + } } return(FALSE); } @@ -383,7 +383,7 @@ int wordvcmp(wordv1, wordc, wordv2) } return(0); /* they are equal */ } - + /* * splice a 0 basedword vector onto the tail of a * new wordv, allowing the first emptyhead slots to be empty |