From 2d2096fe16a45e25ea696042af076c06f41f4278 Mon Sep 17 00:00:00 2001 From: jsm Date: Tue, 15 Feb 2005 12:54:50 +0000 Subject: Avoid arrays of incomplete types (required to build with GCC 4). Reviewed by . --- trek/getpar.h | 5 ++++- trek/trek.h | 5 +---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'trek') 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!!!! -- cgit v1.2.3-56-ge451