diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2004-12-30 02:08:36 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2004-12-30 02:08:36 +0000 |
commit | 8657a333f066d91520b4e5fb4f466133fddf18ca (patch) | |
tree | cf715decf588d55db342f6f3f1e0269d7ec33462 | |
parent | e06dbe7f545e86df350dcc049141d1a17fd6fa55 (diff) |
stdinit() and flush_all() are prototyped globally, no need to do it
inside functions that use them.
-rw-r--r-- | usr.bin/awk/run.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/awk/run.c b/usr.bin/awk/run.c index 0196f2c66f4..a70dabf278c 100644 --- a/usr.bin/awk/run.c +++ b/usr.bin/awk/run.c @@ -1,4 +1,4 @@ -/* $OpenBSD: run.c,v 1.25 2004/12/30 01:52:48 millert Exp $ */ +/* $OpenBSD: run.c,v 1.26 2004/12/30 02:08:35 millert Exp $ */ /**************************************************************** Copyright (C) Lucent Technologies 1997 All Rights Reserved @@ -94,7 +94,6 @@ Node *curnode = NULL; /* the node being executed, for debugging */ void stdinit(void); void flush_all(void); - /* buffer memory management */ int adjbuf(char **pbuf, int *psiz, int minlen, int quantum, char **pbptr, const char *whatrtn) @@ -131,8 +130,6 @@ int adjbuf(char **pbuf, int *psiz, int minlen, int quantum, char **pbptr, void run(Node *a) /* execution of parse tree starts here */ { - extern void stdinit(void); - stdinit(); execute(a); closeall(); @@ -1476,7 +1473,6 @@ Cell *bltin(Node **a, int n) /* builtin functions. a[0] is type, a[1] is arg lis char *p, *buf; Node *nextarg; FILE *fp; - void flush_all(void); t = ptoi(a[0]); x = execute(a[1]); |