mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
28 lines
613 B
C
28 lines
613 B
C
$NetBSD: patch-te__data.c,v 1.1 2012/12/27 06:13:20 dholland Exp $
|
|
|
|
- use const for string constants
|
|
- silence warning about initializer
|
|
|
|
--- te_data.c.orig 1993-08-05 22:29:33.000000000 +0000
|
|
+++ te_data.c
|
|
@@ -12,7 +12,7 @@
|
|
#include "te_defs.h"
|
|
|
|
/* error message text */
|
|
-char *errors[] =
|
|
+const char *errors[] =
|
|
{
|
|
"> not in iteration",
|
|
"Can't pop Q register",
|
|
@@ -77,8 +77,8 @@ char *errors[] =
|
|
/* the text buffer headers */
|
|
struct bh buffs[2] =
|
|
{
|
|
- { NULL, NULL, 0, 0, 0 },
|
|
- { NULL, NULL, 0, 0, 0 }
|
|
+ { NULL, NULL, 0, 0, 0, 0 },
|
|
+ { NULL, NULL, 0, 0, 0, 0 }
|
|
} ;
|
|
struct bh *pbuff = buffs;
|
|
|