]> Pileus Git - ~andy/aweather-web/blobdiff - index.c
Add consts
[~andy/aweather-web] / index.c
diff --git a/index.c b/index.c
index 304293d174754068b5a86e5bce5cb9672b2eedf0..62490adb8f1390d4618f4178bf7c1c49692db276 100644 (file)
--- a/index.c
+++ b/index.c
@@ -9,25 +9,25 @@ const char desc[] =
        "and volume rendering.";
 
 /* Page data */
-page_t header[] = {
+const page_t header[] = {
        {"about",       "About",       print_about,        0.7, NULL},
-       {"manual",      "Manual",      print_manual,       0.5, NULL},
        {"news",        "News",        print_news,         0.3, NULL},
+       {"manual",      "Manual",      print_manual,       0.5, NULL},
        {"screenshots", "Screenshots", print_screenshots,  0.5, NULL},
        {"download",    "Download",    print_download,     0.7, NULL},
        {"development", "Development", print_development,  0.3, NULL},
        {NULL,          NULL,          NULL,               0.0, NULL},
 };
-page_t other[] = {
+const page_t other[] = {
        {"grits",       "Grits",       print_grits,        0.8, NULL},
        {"rsl",         "RSL",         print_rsl,          0.3, NULL},
        {NULL,          NULL,          NULL,               0.0, NULL},
 };
-page_t footer[] = {
+const page_t footer[] = {
        {"contact",     "Contact",     print_contact,      0.2, NULL},
        {NULL,          NULL,          NULL,               0.0, NULL},
 };
-page_t special[] = {
+const page_t special[] = {
        {"",            NULL,          print_index,        1.0, desc},
        {"oldnews",     "Old News",    print_oldnews,      0.2, NULL},
        {NULL,          "Not found",   print_notfound,    -1.0, NULL},