mirror of
https://git.zx2c4.com/cgit
synced 2025-06-29 21:04:32 +02:00
move get_mimetype_from_file() to shared
Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
parent
73ef8567f0
commit
f5c83d7b5d
3 changed files with 42 additions and 40 deletions
2
cgit.h
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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue