summaryrefslogtreecommitdiffstats
path: root/trek/getpar.h
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>1999-07-21 13:19:10 +0000
committerhubertf <hubertf@NetBSD.org>1999-07-21 13:19:10 +0000
commitd91aeebe629b8428e564df33c93bb69195d28cc3 (patch)
tree342727fa8bfdbef8202ebb0d3d400deab12a179f /trek/getpar.h
parent21ce304979b76ad5fff791e88f3f0c0fa22ce01a (diff)
downloadbsdgames-darwin-d91aeebe629b8428e564df33c93bb69195d28cc3.tar.gz
bsdgames-darwin-d91aeebe629b8428e564df33c93bb69195d28cc3.tar.zst
bsdgames-darwin-d91aeebe629b8428e564df33c93bb69195d28cc3.zip
const poisoning
Patch submitted in PR 8039 by Joseph Myers <jsm28@cam.ac.uk>
Diffstat (limited to 'trek/getpar.h')
-rw-r--r--trek/getpar.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/trek/getpar.h b/trek/getpar.h
index e0e480fa..abee7536 100644
--- a/trek/getpar.h
+++ b/trek/getpar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: getpar.h,v 1.4 1997/10/12 21:24:51 christos Exp $ */
+/* $NetBSD: getpar.h,v 1.5 1999/07/21 13:19:10 hubertf Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -44,11 +44,11 @@ struct cvntab /* used for getcodpar() paramater list */
int value2;
};
-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 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));