summaryrefslogtreecommitdiffstats
path: root/trek/getpar.h
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1997-10-12 21:24:24 +0000
committerchristos <christos@NetBSD.org>1997-10-12 21:24:24 +0000
commit634cb6ceab3191623a3daed5e953821e3f37a4cb (patch)
tree2bb707d4d2f4e28a241cac2e70f7392be0acb329 /trek/getpar.h
parenta77b3f8edc13dc6efdbcf80e336689cfa1de08ab (diff)
downloadbsdgames-darwin-634cb6ceab3191623a3daed5e953821e3f37a4cb.tar.gz
bsdgames-darwin-634cb6ceab3191623a3daed5e953821e3f37a4cb.tar.zst
bsdgames-darwin-634cb6ceab3191623a3daed5e953821e3f37a4cb.zip
Warnsify and remove local implementations of libc functions.
Diffstat (limited to 'trek/getpar.h')
-rw-r--r--trek/getpar.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/trek/getpar.h b/trek/getpar.h
index f7ae0d8c..e0e480fa 100644
--- a/trek/getpar.h
+++ b/trek/getpar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: getpar.h,v 1.3 1995/04/22 10:58:59 cgd Exp $ */
+/* $NetBSD: getpar.h,v 1.4 1997/10/12 21:24:51 christos Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -35,13 +35,20 @@
* @(#)getpar.h 8.1 (Berkeley) 5/31/93
*/
+typedef void (*cmdfun) __P((int));
struct cvntab /* used for getcodpar() paramater list */
{
char *abrev;
char *full;
- int (*value)();
+ cmdfun value;
int value2;
};
-extern double getfltpar();
-extern struct cvntab *getcodpar();
+int getintpar __P((char *));
+double getfltpar __P((char *));
+int getynpar __P((char *));
+struct cvntab *getcodpar __P((char *, struct cvntab[]));
+void getstrpar __P((char *, char *, int, char *));
+int testnl __P((void));
+void skiptonl __P((int));
+int readdelim __P((int));