move get_mimetype_from_file() to shared

Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
Christian Hesse
2015-08-14 16:50:56 +02:00
committed by Jason A. Donenfeld
父節點 73ef8567f0
當前提交 f5c83d7b5d
共有 3 個文件被更改,包括 42 次插入40 次删除

2
cgit.h
查看文件

@@ -391,4 +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);
#endif /* CGIT_H */