]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.h
Mark char* fields in struct cgit_page as const
[ps-cgit] / cgit.h
diff --git a/cgit.h b/cgit.h
index fc3fc6fb29b36cd65db6fa2231ea3caa8f248229..7581cc1a053888c57f24f31735c82fe4cd5412e4 100644 (file)
--- a/cgit.h
+++ b/cgit.h
@@ -245,13 +245,13 @@ struct cgit_page {
        time_t modified;
        time_t expires;
        size_t size;
-       char *mimetype;
-       char *charset;
-       char *filename;
-       char *etag;
-       char *title;
+       const char *mimetype;
+       const char *charset;
+       const char *filename;
+       const char *etag;
+       const char *title;
        int status;
-       char *statusmsg;
+       const char *statusmsg;
 };
 
 struct cgit_environment {