summaryrefslogtreecommitdiff
path: root/mime.h
diff options
context:
space:
mode:
authorVincent Douillet <vincent@vdouillet.fr>2024-09-05 12:58:22 +0200
committerVincent Douillet <vincent@vdouillet.fr>2024-09-06 12:22:20 +0200
commit35a145fd161fb4d4f19aa9820b50438695b94414 (patch)
tree00e9f341d5b7e0a6874efbe9fafc0500cf13cd2d /mime.h
parent9b8d38ab209c6e7e747d6d420f1b105fe858c7eb (diff)
browse: add upload button
Diffstat (limited to 'mime.h')
-rw-r--r--mime.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/mime.h b/mime.h
index 40ad66a..5a88917 100644
--- a/mime.h
+++ b/mime.h
@@ -74,12 +74,12 @@ enum mime {
* Find mime from file extension
*/
enum mime
-mime_from_ext(char *);
+mime_from_ext(const char *);
/*
* Return the mime type description
*/
-char *
+const char *
mime_str(enum mime);
-#endif /* MIME_H */
+#endif /* MIME_H */