summaryrefslogtreecommitdiffstats
path: root/trek/getpar.h
diff options
context:
space:
mode:
authorjsm <jsm@NetBSD.org>2005-02-15 12:54:50 +0000
committerjsm <jsm@NetBSD.org>2005-02-15 12:54:50 +0000
commit2d2096fe16a45e25ea696042af076c06f41f4278 (patch)
treea899aae285e1766f36ffa25f2eb95275fb7065c1 /trek/getpar.h
parent6390e770b812f3df9943b72dff360a36cfd20cba (diff)
downloadbsdgames-darwin-2d2096fe16a45e25ea696042af076c06f41f4278.tar.gz
bsdgames-darwin-2d2096fe16a45e25ea696042af076c06f41f4278.tar.zst
bsdgames-darwin-2d2096fe16a45e25ea696042af076c06f41f4278.zip
Avoid arrays of incomplete types (required to build with GCC 4).
Reviewed by <hubertf>.
Diffstat (limited to 'trek/getpar.h')
-rw-r--r--trek/getpar.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/trek/getpar.h b/trek/getpar.h
index 8363697f..20527c3b 100644
--- a/trek/getpar.h
+++ b/trek/getpar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: getpar.h,v 1.9 2004/01/27 20:30:31 jsm Exp $ */
+/* $NetBSD: getpar.h,v 1.10 2005/02/15 12:54:50 jsm Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -40,6 +40,9 @@ struct cvntab /* used for getcodpar() parameter list */
int value2;
};
+extern const struct cvntab Skitab[];
+extern const struct cvntab Lentab[];
+
int getintpar(const char *);
double getfltpar(const char *);
int getynpar(const char *);