diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2002-04-26 16:15:17 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2002-04-26 16:15:17 +0000 |
commit | 751f1207fc4315779434d03c633db0f5a685a704 (patch) | |
tree | 6a606fc3547a1303a7c7a83a07c10fc0a685293e /usr.bin/m4/expr.c | |
parent | f9893f673eaa78484fd40b361e55bb60053d9266 (diff) |
use ansi function declarations. ok millert@
Diffstat (limited to 'usr.bin/m4/expr.c')
-rw-r--r-- | usr.bin/m4/expr.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/m4/expr.c b/usr.bin/m4/expr.c index 30935ce08a4..10eacc91bd1 100644 --- a/usr.bin/m4/expr.c +++ b/usr.bin/m4/expr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: expr.c,v 1.13 2002/04/26 12:55:01 espie Exp $ */ +/* $OpenBSD: expr.c,v 1.14 2002/04/26 16:15:16 espie Exp $ */ /* $NetBSD: expr.c,v 1.7 1995/09/28 05:37:31 tls Exp $ */ /* @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)expr.c 8.2 (Berkeley) 4/29/95"; #else -static char rcsid[] = "$OpenBSD: expr.c,v 1.13 2002/04/26 12:55:01 espie Exp $"; +static char rcsid[] = "$OpenBSD: expr.c,v 1.14 2002/04/26 16:15:16 espie Exp $"; #endif #endif /* not lint */ @@ -142,8 +142,7 @@ static jmp_buf expjump; #define getch() *nxtch++ int -expr(expbuf) - const char *expbuf; +expr(const char *expbuf) { int rval; @@ -615,8 +614,7 @@ skipws() * and forces eval to return FALSE. */ static void -experr(msg) - const char *msg; +experr(const char *msg) { printf("m4: %s in expr %s.\n", msg, where); longjmp(expjump, -1); |