2
0
mirror of https://git.zx2c4.com/cgit synced 2025-08-31 22:35:08 +00:00

Mark several functions/variables static

Spotted by parsing the output of `gcc -Wmissing-prototypes [...]`.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
This commit is contained in:
Lukas Fleischer
2013-03-04 08:52:33 +01:00
committed by Jason A. Donenfeld
parent d5a43b429a
commit bafab423f2
14 changed files with 64 additions and 60 deletions

View File

@@ -363,7 +363,7 @@ int cache_process(int size, const char *path, const char *key, int ttl,
/* Return a strftime formatted date/time
* NB: the result from this function is to shared memory
*/
char *sprintftime(const char *format, time_t time)
static char *sprintftime(const char *format, time_t time)
{
static char buf[64];
struct tm *tm;