diff options
author | default <nobody@localhost> | 2022-10-08 07:00:05 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-10-08 07:00:05 +0200 |
commit | 0f4779e2a095b72b7ec7fc0f2abe2cc57f152b76 (patch) | |
tree | d9b945a8c84ba1441ad1563a78259e6ae95e4c1a /xs_mime.h | |
parent | 29a0b21929495b04e81085f1502a4498c728fb84 (diff) |
Backport from xs.
Diffstat (limited to 'xs_mime.h')
-rw-r--r-- | xs_mime.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ #define _XS_MIME -char *xs_mime_by_ext(char *file); +char *xs_mime_by_ext(const char *file); #ifdef XS_IMPLEMENTATION @@ -27,7 +27,7 @@ struct _mime_info { }; -char *xs_mime_by_ext(char *file) +char *xs_mime_by_ext(const char *file) /* returns the MIME type by file extension */ { struct _mime_info *mi = mime_info; |