client: make sync_track_path static
This commit is contained in:
parent
88e9a4bf48
commit
7934871684
@ -8,7 +8,7 @@
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
|
||||
const char *sync_track_path(const char *base, const char *name)
|
||||
static const char *sync_track_path(const char *base, const char *name)
|
||||
{
|
||||
static char temp[FILENAME_MAX];
|
||||
strncpy(temp, base, sizeof(temp));
|
||||
|
||||
@ -23,7 +23,6 @@ struct sync_device {
|
||||
SOCKET sock;
|
||||
#endif
|
||||
};
|
||||
const char *sync_track_path(const char *base, const char *name);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user