From da1b1e5a43925ec650da169812e17db9fbb22430 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 12 Sep 2019 18:01:48 +0200 Subject: Reduced the scope of a useless global variable to static --- restapi/auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'restapi/auth.c') diff --git a/restapi/auth.c b/restapi/auth.c index eda92a9..e32a194 100644 --- a/restapi/auth.c +++ b/restapi/auth.c @@ -10,7 +10,7 @@ #define USER_STR "user=" #define PASS_STR "&password=" -char * authToken = NULL; +static char * authToken = NULL; const char * // returns authToken if ok, NULL otherwise restapi_login(const char* username, const char* password) -- cgit v1.2.3