Just to be on the safe side about avoiding other portability hazards
[sgt/halibut] / licence.c
index 171f081..386259b 100644 (file)
--- a/licence.c
+++ b/licence.c
@@ -4,8 +4,8 @@
 
 #include <stdio.h>
 
-static char *licencetext[] = {
-    "Halibut is copyright (c) 1999-2004 Simon Tatham and James Aylett.",
+static const char *const licencetext[] = {
+    "Halibut is copyright (c) 1999-2005 Simon Tatham and James Aylett.",
     "",
     "Permission is hereby granted, free of charge, to any person",
     "obtaining a copy of this software and associated documentation files",
@@ -30,7 +30,7 @@ static char *licencetext[] = {
 };
 
 void licence(void) {
-    char **p;
+    const char *const *p;
     for (p = licencetext; *p; p++)
        puts(*p);
 }