X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/f5c83d7b5ddceb03e1c6bda2e43c48500c7da9f5..f77e2a8cfaf07b25ddedd57348a1d957b048bbf5:/cgit.h diff --git a/cgit.h b/cgit.h index 0f1e186..b7eccdd 100644 --- a/cgit.h +++ b/cgit.h @@ -391,6 +391,6 @@ extern int readfile(const char *path, char **buf, size_t *size); extern char *expand_macros(const char *txt); -extern char *get_mimetype_from_file(const char *filename, const char *ext); +extern char *get_mimetype_for_filename(const char *filename); #endif /* CGIT_H */