diff options
author | rsc <devnull@localhost> | 2004-04-20 02:03:38 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-04-20 02:03:38 +0000 |
commit | a0f1e21ff939612898d63ae2245e47dffc1a8153 (patch) | |
tree | 581f62db3bad2c54d60cb54b6e577787f55071af /src/cmd/acid | |
parent | e637c944febf271252e59742aa108d6e0a527eb7 (diff) | |
download | plan9port-a0f1e21ff939612898d63ae2245e47dffc1a8153.tar.gz plan9port-a0f1e21ff939612898d63ae2245e47dffc1a8153.tar.bz2 plan9port-a0f1e21ff939612898d63ae2245e47dffc1a8153.zip |
make things work on SunOS
Diffstat (limited to 'src/cmd/acid')
-rw-r--r-- | src/cmd/acid/expr.c | 4 | ||||
-rw-r--r-- | src/cmd/acid/lex.c | 2 | ||||
-rw-r--r-- | src/cmd/acid/print.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/acid/expr.c b/src/cmd/acid/expr.c index 18b68f4e..9cfac9e3 100644 --- a/src/cmd/acid/expr.c +++ b/src/cmd/acid/expr.c @@ -39,7 +39,7 @@ initfsize(void) fsize['s'] = 4; fsize['u'] = 2; fsize['x'] = 2; -}; +} int fmtsize(Value *v) @@ -1021,7 +1021,7 @@ initexpop(void) expop[OFMT] = ofmt; expop[OEVAL] = oeval; expop[OWHAT] = owhat; -}; +} void initexpr(void) diff --git a/src/cmd/acid/lex.c b/src/cmd/acid/lex.c index db11eb1c..bbfb47b1 100644 --- a/src/cmd/acid/lex.c +++ b/src/cmd/acid/lex.c @@ -52,7 +52,7 @@ initcmap(void) cmap['v']= '\v'+1; cmap['\\']= '\\'+1; cmap['"']= '"'+1; -}; +} void kinit(void) diff --git a/src/cmd/acid/print.c b/src/cmd/acid/print.c index 96021037..0c66e024 100644 --- a/src/cmd/acid/print.c +++ b/src/cmd/acid/print.c @@ -30,7 +30,7 @@ initbinop(void) binop[OCAND]= "&&"; binop[OCOR]= "||"; binop[OASGN]= " = "; -}; +} static char *tabs = "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"; char *typenames[] = { |