summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-06-25 15:02:37 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-06-25 15:02:37 +0000
commit0bfde8404fcd2a513279a2d16a5f655defaecbf0 (patch)
tree6cc8f312524af18c96e81fb811e254f4780f487e
parent0419f5c9bc5d99debcee6bae578f3b8a3eb6643f (diff)
Function prototypes that take no args should have (void) as the parameter.
-rw-r--r--usr.bin/grep/grep.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/grep/grep.h b/usr.bin/grep/grep.h
index afa1ad2577f..249961a74c0 100644
--- a/usr.bin/grep/grep.h
+++ b/usr.bin/grep/grep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: grep.h,v 1.5 2003/06/24 18:45:30 tedu Exp $ */
+/* $OpenBSD: grep.h,v 1.6 2003/06/25 15:02:36 millert Exp $ */
/*-
* Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav
@@ -87,10 +87,10 @@ void printline(str_t *line, int sep);
int fastcomp(fastgrep_t *, const char *);
/* queue.c */
-void initqueue();
+void initqueue(void);
void enqueue(str_t *x);
-void printqueue();
-void clearqueue();
+void printqueue(void);
+void clearqueue(void);
/* mmfile.c */
typedef struct mmfile {