diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-02 19:48:37 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-02 19:48:37 +0100 |
commit | 0bf7e921683e2a6ef4b24d44f11436a6b9f20484 (patch) | |
tree | 90d8a2c019c37d6c084aec0a2ad7932bb5e2cf2d | |
parent | 40598cdf18e0ed611b27f24ce11ac688e210eb3a (diff) |
move timegm declaration to utils.h
-rw-r--r-- | file.c | 4 | ||||
-rw-r--r-- | utils.h | 3 |
2 files changed, 3 insertions, 4 deletions
@@ -246,10 +246,6 @@ uh_path_lookup(struct client *cl, const char *url) return p.phys ? &p : NULL; } -#ifdef __APPLE__ -time_t timegm (struct tm *tm); -#endif - static const char * uh_file_mime_lookup(const char *path) { struct mimetype *m = &uh_mime_types[0]; @@ -53,6 +53,9 @@ static inline void clearenv(void) extern char **environ; *environ = NULL; } + +time_t timegm (struct tm *tm); + #endif #ifdef __GNUC__ |