mirror of
https://git.zx2c4.com/cgit
synced 2025-06-24 18:58:39 +02: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:
parent
d5a43b429a
commit
bafab423f2
14 changed files with 64 additions and 60 deletions
2
cache.c
2
cache.c
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue