aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--FICS/variable.c2
-rw-r--r--FICS/variable.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/FICS/variable.c b/FICS/variable.c
index f9b0c3a..c07bdd2 100644
--- a/FICS/variable.c
+++ b/FICS/variable.c
@@ -466,7 +466,7 @@ set_width(int p, char *var, char *val)
return VAR_OK;
}
-PUBLIC char *
+PUBLIC const char *
Language(unsigned int i)
{
static char *Lang[NUM_LANGS] = {
diff --git a/FICS/variable.h b/FICS/variable.h
index 1c1a331..0184b60 100644
--- a/FICS/variable.h
+++ b/FICS/variable.h
@@ -44,7 +44,7 @@ typedef struct _var_list {
extern var_list variables[];
-extern char *Language(unsigned int);
-extern int var_set(int, char *, char *, int *);
+extern const char *Language(unsigned int);
+extern int var_set(int, char *, char *, int *);
#endif /* _VARIABLE_H */