1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
--- lib/wnhelp.c Fri May 6 13:17:39 2005
+++ lib/wnhelp.c Wed Dec 21 17:25:27 2005
@@ -7,4 +7,5 @@
/* $Id: wnhelp.c,v 1.14 2005/02/01 17:03:46 wn Rel $ */
+#define DEFINE_LICENSE
#include "wn.h"
@@ -239,5 +240,5 @@
";
-static char *nounhelps[] = {
+static const char *nounhelps[] = {
hyper_help,
relatives_help,
@@ -259,5 +260,5 @@
};
-static char *verbhelps[] = {
+static const char *verbhelps[] = {
hyper_help,
relatives_help,
@@ -276,5 +277,5 @@
};
-static char *adjhelps[] = {
+static const char *adjhelps[] = {
/* SIMPTR */
"Display synonyms and synsets related to synsets containing \n\
@@ -351,5 +352,5 @@
};
-static char *advhelps[] = {
+static const char *advhelps[] = {
/* SIMPTR */
"Display synonyms and synsets related to synsets containing \n\
@@ -370,5 +371,5 @@
};
-char **helptext[NUMPARTS + 1] = {
+const char * const *helptext[NUMPARTS + 1] = {
NULL, nounhelps, verbhelps, adjhelps, advhelps
};
|