aboutsummaryrefslogtreecommitdiff
path: root/mime.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2022-03-19 11:02:42 +0000
committerOmar Polo <op@omarpolo.com>2022-03-19 11:02:42 +0000
commite5d82d9472513ef742dbb0b5ac451337625feb58 (patch)
treef702b4f52830b6a8c111071b3f7d48213229d2eb /mime.c
parent9db5e7051ebb37a9078e79ca46daf7f8f8f3f963 (diff)
const-ify some tables
matches found with % grep -R '=[ ]*{' . | fgrep -v const
Diffstat (limited to 'mime.c')
-rw-r--r--mime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mime.c b/mime.c
index cd759de..398d561 100644
--- a/mime.c
+++ b/mime.c
@@ -55,7 +55,7 @@ add_mime(struct mime *mime, const char *mt, const char *ext)
void
load_default_mime(struct mime *mime)
{
- struct etm *i, m[] = {
+ const struct etm *i, m[] = {
{"application/pdf", "pdf"},
{"image/gif", "gif"},
{"image/jpeg", "jpg"},