diff options
author | Lukas Fleischer | 2013-03-04 08:52:33 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2013-03-04 19:50:39 -0500 |
commit | bafab423f20bc1448b293842c235965e1681f07e (patch) | |
tree | 18c4bef1e4714c4abd20b8e1d5ec04db3ae3b9ac /cache.c | |
parent | d5a43b429a4248a02e3a403f76fff0cbae92ef32 (diff) | |
download | cgit-bafab423f20bc1448b293842c235965e1681f07e.tar.gz cgit-bafab423f20bc1448b293842c235965e1681f07e.tar.bz2 cgit-bafab423f20bc1448b293842c235965e1681f07e.zip |
Mark several functions/variables static
Spotted by parsing the output of `gcc -Wmissing-prototypes [...]`.
Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'cache.c')
-rw-r--r-- | cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -363,7 +363,7 @@ int cache_process(int size, const char *path, const char *key, int ttl, | |||
363 | /* Return a strftime formatted date/time | 363 | /* Return a strftime formatted date/time |
364 | * NB: the result from this function is to shared memory | 364 | * NB: the result from this function is to shared memory |
365 | */ | 365 | */ |
366 | char *sprintftime(const char *format, time_t time) | 366 | static char *sprintftime(const char *format, time_t time) |
367 | { | 367 | { |
368 | static char buf[64]; | 368 | static char buf[64]; |
369 | struct tm *tm; | 369 | struct tm *tm; |