diff options
author | jsm <jsm@NetBSD.org> | 2005-02-15 12:54:50 +0000 |
---|---|---|
committer | jsm <jsm@NetBSD.org> | 2005-02-15 12:54:50 +0000 |
commit | 2d2096fe16a45e25ea696042af076c06f41f4278 (patch) | |
tree | a899aae285e1766f36ffa25f2eb95275fb7065c1 /trek | |
parent | 6390e770b812f3df9943b72dff360a36cfd20cba (diff) | |
download | bsdgames-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')
-rw-r--r-- | trek/getpar.h | 5 | ||||
-rw-r--r-- | trek/trek.h | 5 |
2 files changed, 5 insertions, 5 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 *); diff --git a/trek/trek.h b/trek/trek.h index 5a824dc3..62ac1df8 100644 --- a/trek/trek.h +++ b/trek/trek.h @@ -1,4 +1,4 @@ -/* $NetBSD: trek.h,v 1.10 2004/01/27 20:30:31 jsm Exp $ */ +/* $NetBSD: trek.h,v 1.11 2005/02/15 12:54:50 jsm Exp $ */ /* * Copyright (c) 1980, 1993 @@ -205,9 +205,6 @@ struct xy }; -extern const struct cvntab Skitab[]; -extern const struct cvntab Lentab[]; - /* * note that much of the stuff in the following structs CAN NOT * be moved around!!!! |