summaryrefslogtreecommitdiffstats
path: root/hack/config.h
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1997-10-19 16:56:41 +0000
committerchristos <christos@NetBSD.org>1997-10-19 16:56:41 +0000
commit84e7d0704483ce39bbdeacd5e676168db6fa664f (patch)
treef9ffeffa1a4342e749494bc3f5618552435839af /hack/config.h
parentf73f1009084e75624e3bc00fef9cf4749de80dcc (diff)
downloadbsdgames-darwin-84e7d0704483ce39bbdeacd5e676168db6fa664f.tar.gz
bsdgames-darwin-84e7d0704483ce39bbdeacd5e676168db6fa664f.zip
WARNsify...
Diffstat (limited to 'hack/config.h')
-rw-r--r--hack/config.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/hack/config.h b/hack/config.h
index e18bcbaf..f3377d97 100644
--- a/hack/config.h
+++ b/hack/config.h
@@ -1,7 +1,7 @@
+/* $NetBSD: config.h,v 1.5 1997/10/19 16:56:49 christos Exp $ */
+
/*
* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
- *
- * $NetBSD: config.h,v 1.4 1997/03/29 20:42:16 thorpej Exp $
*/
#include "pathnames.h"
@@ -106,8 +106,10 @@
* typedef char schar;
* will do when you have signed characters; otherwise use
* typedef short int schar;
+ *
+ * Use short chars anyway to avoid warnings.
*/
-#ifdef __CHAR_UNSIGNED__
+#if 1
typedef short int schar;
#else
typedef char schar;
@@ -143,4 +145,4 @@ typedef xchar boolean; /* 0 or 1 */
#define SIZE(x) (int)(sizeof(x) / sizeof(x[0]))
-#endif CONFIG
+#endif /* CONFIG */