summaryrefslogtreecommitdiff
path: root/devel/acme/patches/patch-ac
blob: 0da99c53f60a0586e782c8da1e9d62ad3fb17bed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ac,v 1.1 2007/01/27 10:38:22 wiz Exp $

--- context.h.orig	2001-03-22 17:34:46.000000000 +0000
+++ context.h
@@ -11,6 +11,8 @@
 #ifndef context_H
 #define context_H
 
+#include "config.h"
+
 /* Number of "global zone" */
 #define ZONE_GLOBAL      0
 
@@ -42,8 +44,8 @@ struct context {
 extern zone    Context_CurrentZone;/* current zone value */
 extern zone    Zone_Max;/* Highest zone number yet */
 extern int     nContext;/* Number of saved contexts */
-extern context Context[];
-extern byte    pTitle[][];
+extern context Context[MAXCONTEXTS];
+extern byte    pTitle[MAXCONTEXTS][LSMAX + 1];
 extern int Context_CodeTable;/* Current translation table and its values */
 enum {
   CODETABLE_RAW,