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/m4 | |
parent | f3a2b348daf9fa6063c38d2d69563f732a2f80e7 (diff) | |
download | FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.zip FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'usr.bin/m4')
-rw-r--r-- | usr.bin/m4/Makefile | 2 | ||||
-rw-r--r-- | usr.bin/m4/eval.c | 10 | ||||
-rw-r--r-- | usr.bin/m4/expr.c | 6 | ||||
-rw-r--r-- | usr.bin/m4/look.c | 4 | ||||
-rw-r--r-- | usr.bin/m4/main.c | 8 | ||||
-rw-r--r-- | usr.bin/m4/mdef.h | 16 | ||||
-rw-r--r-- | usr.bin/m4/stdd.h | 6 |
7 files changed, 26 insertions, 26 deletions
diff --git a/usr.bin/m4/Makefile b/usr.bin/m4/Makefile index 17145fd..7a57e83 100644 --- a/usr.bin/m4/Makefile +++ b/usr.bin/m4/Makefile @@ -1,6 +1,6 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 -# -DEXTENDED +# -DEXTENDED # if you want the paste & spaste macros. PROG= m4 diff --git a/usr.bin/m4/eval.c b/usr.bin/m4/eval.c index 4a3b12b..b1b2a39 100644 --- a/usr.bin/m4/eval.c +++ b/usr.bin/m4/eval.c @@ -170,9 +170,9 @@ register int td; case SYSCTYPE: /* * dosys - execute system command - */ - /* Make sure m4 output is NOT interrupted */ - fflush(stdout); + */ + /* Make sure m4 output is NOT interrupted */ + fflush(stdout); fflush(stderr); if (argc > 2) sysval = system(argv[2]); @@ -182,7 +182,7 @@ register int td; /* * dosysval - return value of the last * system call. - * + * */ pbnum(sysval); break; @@ -220,7 +220,7 @@ register int td; case SUBSTYPE: /* * dosub - select substring - * + * */ if (argc > 3) dosub(argv, argc); diff --git a/usr.bin/m4/expr.c b/usr.bin/m4/expr.c index 9272f6b..4b98e01 100644 --- a/usr.bin/m4/expr.c +++ b/usr.bin/m4/expr.c @@ -496,10 +496,10 @@ num() ndig++; } ungetch(); - + if (ndig == 0) experr("bad constant"); - + return rval; } @@ -562,7 +562,7 @@ skipws() } /* - * resets environment to eval(), prints an error + * resets environment to eval(), prints an error * and forces eval to return FALSE. */ static void diff --git a/usr.bin/m4/look.c b/usr.bin/m4/look.c index 7c750b0..3635e1b 100644 --- a/usr.bin/m4/look.c +++ b/usr.bin/m4/look.c @@ -65,7 +65,7 @@ register char *name; /* * find name in the hash table */ -ndptr +ndptr lookup(name) char *name; { @@ -81,7 +81,7 @@ char *name; * hash and create an entry in the hash table. * The new entry is added in front of a hash bucket. */ -ndptr +ndptr addent(name) char *name; { diff --git a/usr.bin/m4/main.c b/usr.bin/m4/main.c index d16bbf1..395e04d 100644 --- a/usr.bin/m4/main.c +++ b/usr.bin/m4/main.c @@ -200,7 +200,7 @@ main(argc,argv) else if ((ifp = fopen(p, "r")) == NULL) oops("%s: %s", p, strerror(errno)); sp = -1; - fp = 0; + fp = 0; infile[0] = ifp; macro(); if (ifp != stdin) @@ -377,7 +377,7 @@ macro() { * combo with lookup to speed things up. */ ndptr -inspect(tp) +inspect(tp) register char *tp; { register int c; @@ -401,9 +401,9 @@ register char *tp; } /* - * initkwds - initialise m4 keywords as fast as possible. + * initkwds - initialise m4 keywords as fast as possible. * This very similar to install, but without certain overheads, - * such as calling lookup. Malloc is not used for storing the + * such as calling lookup. Malloc is not used for storing the * keyword strings, since we simply use the static pointers * within keywrds block. */ diff --git a/usr.bin/m4/mdef.h b/usr.bin/m4/mdef.h index 239993a..dd23bde 100644 --- a/usr.bin/m4/mdef.h +++ b/usr.bin/m4/mdef.h @@ -69,13 +69,13 @@ #define SYSVTYPE 31 #define EXITTYPE 32 #define DEFNTYPE 33 - + #define STATIC 128 /* * m4 special characters */ - + #define ARGFLAG '$' #define LPAREN '(' #define RPAREN ')' @@ -102,10 +102,10 @@ #define STRSPMAX 4096 /* size of string space */ #define MAXTOK MAXSTR /* maximum chars in a tokn */ #define HASHSIZE 199 /* maximum size of hashtab */ - + #define ALL 1 #define TOP 0 - + #define TRUE 1 #define FALSE 0 #define cycle for(;;) @@ -113,18 +113,18 @@ /* * m4 data structures */ - + typedef struct ndblock *ndptr; - + struct ndblock { /* hastable structure */ char *name; /* entry name.. */ char *defn; /* definition.. */ int type; /* type of the entry.. */ ndptr nxtptr; /* link to next entry.. */ }; - + #define nil ((ndptr) 0) - + struct keyblk { char *knam; /* keyword name */ int ktyp; /* keyword type */ diff --git a/usr.bin/m4/stdd.h b/usr.bin/m4/stdd.h index 16c2840..8d4312e 100644 --- a/usr.bin/m4/stdd.h +++ b/usr.bin/m4/stdd.h @@ -45,9 +45,9 @@ #define iswhite(c) ((c) == ' ' || (c) == '\t') -/* - * STREQ is an optimised strcmp(a,b)==0 - * STREQN is an optimised strncmp(a,b,n)==0; assumes n > 0 +/* + * STREQ is an optimised strcmp(a,b)==0 + * STREQN is an optimised strncmp(a,b,n)==0; assumes n > 0 */ #define STREQ(a, b) ((a)[0] == (b)[0] && strcmp(a, b) == 0) #define STREQN(a, b, n) ((a)[0] == (b)[0] && strncmp(a, b, n) == 0) |