mirror of
https://github.com/owntracks/recorder.git
synced 2026-08-27 16:57:21 +00:00
proper extern errno
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
#include <fnmatch.h>
|
||||
#include <ctype.h>
|
||||
#include "utstring.h"
|
||||
@@ -271,7 +272,6 @@ void locations(char *filename, JsonNode *obj, JsonNode *arr, time_t s_lo, time_t
|
||||
long counter = 0L;
|
||||
static char *numbers[] = { "lat", "lon", "batt", "vel", "cog", "tst", "alt", "dist", "trip", NULL };
|
||||
static char *strings[] = { "tid", "t", NULL };
|
||||
extern int errno;
|
||||
static UT_string *tstamp = NULL;
|
||||
|
||||
utstring_renew(tstamp);
|
||||
|
||||
Reference in New Issue
Block a user