summaryrefslogtreecommitdiff
path: root/games/trek/getpar.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /games/trek/getpar.h
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'games/trek/getpar.h')
-rw-r--r--games/trek/getpar.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/games/trek/getpar.h b/games/trek/getpar.h
index 5cd8f479447..dfb08f665ee 100644
--- a/games/trek/getpar.h
+++ b/games/trek/getpar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: getpar.h,v 1.3 1999/07/31 18:48:58 pjanzen Exp $ */
+/* $OpenBSD: getpar.h,v 1.4 2002/02/16 21:27:12 millert Exp $ */
/* $NetBSD: getpar.h,v 1.3 1995/04/22 10:58:59 cgd Exp $ */
/*
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
-typedef void (*cmdfun) __P((int));
+typedef void (*cmdfun)(int);
struct cvntab /* used for getcodpar() paramater list */
{
@@ -48,11 +48,11 @@ struct cvntab /* used for getcodpar() paramater list */
int value2;
};
-int getintpar __P((const char *));
-double getfltpar __P((const char *));
-int getynpar __P((const char *));
-const struct cvntab *getcodpar __P((const char *, const struct cvntab[]));
-void getstrpar __P((const char *, char *, int, const char *));
-int testnl __P((void));
-void skiptonl __P((int));
-int readdelim __P((int));
+int getintpar(const char *);
+double getfltpar(const char *);
+int getynpar(const char *);
+const struct cvntab *getcodpar(const char *, const struct cvntab[]);
+void getstrpar(const char *, char *, int, const char *);
+int testnl(void);
+void skiptonl(int);
+int readdelim(int);