8ebfc55a6e
cleanliness in the main library (diffs to be sent to the vendor as in the past). The installed library is now called libWN, as vendor's build would call it, rather than libwn2, as the previous version of the port called it. This may upset the client port of p5 -- the maintainer is notified and awaits this commit. PR: ports/90323 Submitted by: clsung
43 lines
956 B
Text
43 lines
956 B
Text
--- 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
|
|
};
|