]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.h
cgit.c: remove useless null check
[ps-cgit] / cgit.h
diff --git a/cgit.h b/cgit.h
index 0f1e18626e9d2d134fd593b696b1a5fe4a7daccd..b7eccdd2bd982198df2971060002f3d6f155c783 100644 (file)
--- 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 */