about summary refs log tree commit diff stats
path: root/src/LYrcFile.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2004-11-07 18:00:30 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2004-11-07 18:00:30 -0500
commitb52ca53f448d0f9c01708a6ce2b03be3a71d3993 (patch)
treeef7406c859d566bc94cd1a77e9d5b4d539c64436 /src/LYrcFile.c
parent1c6757afa67bdaba78ca9d902165126e54bd8061 (diff)
downloadlynx-snapshots-b52ca53f448d0f9c01708a6ce2b03be3a71d3993.tar.gz
snapshot of project "lynx", label v2-8-6dev_8
Diffstat (limited to 'src/LYrcFile.c')
-rw-r--r--src/LYrcFile.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/LYrcFile.c b/src/LYrcFile.c
index c7437d92..a8451022 100644
--- a/src/LYrcFile.c
+++ b/src/LYrcFile.c
@@ -235,10 +235,10 @@ typedef struct config_type {
     int enabled;		/* see lynx.cfg ENABLE_LYNXRC "off" lines */
     Conf_Types type;
       ParseData;
-    char **strings;
+    const char **strings;
     Config_Enum *table;
     void (*write_it) (FILE *fp, struct config_type *);
-    char *note;
+    const char *note;
 } Config_Type;
 
 static int get_assume_charset(char *value)
@@ -592,7 +592,7 @@ in the Visited Links Page.\n\
 };
 /* *INDENT-ON* */
 
-static Config_Type *lookup_config(char *name)
+static Config_Type *lookup_config(const char *name)
 {
     Config_Type *tbl = Config_Table;
     char ch = (char) TOUPPER(*name);
@@ -665,7 +665,7 @@ void read_rc(FILE *fp)
 
 	tbl = lookup_config(name);
 	if (tbl->name == 0) {
-	    char *special = RC_MULTI_BOOKMARK;
+	    const char *special = RC_MULTI_BOOKMARK;
 
 	    if (!strncasecomp(name, special, strlen(special))) {
 		tbl = lookup_config(special);
@@ -777,7 +777,7 @@ void read_rc(FILE *fp)
  * Write a set of comments.  Doing it this way avoids preprocessor problems
  * with the leading '#', makes it simpler to use gettext.
  */
-static void write_list(FILE *fp, char *list)
+static void write_list(FILE *fp, const char *list)
 {
     int first = TRUE;
 
@@ -952,7 +952,7 @@ It is not this file.\n\
 /*
  * Returns true if the given name would be saved in .lynxrc
  */
-BOOL will_save_rc(char *name)
+BOOL will_save_rc(const char *name)
 {
     Config_Type *tbl = lookup_config(name);