renamed functions
authorHolger Schemel <info@artsoft.org>
Sat, 25 Sep 2021 00:08:38 +0000 (02:08 +0200)
committerHolger Schemel <info@artsoft.org>
Sat, 25 Sep 2021 00:08:45 +0000 (02:08 +0200)
src/files.c
src/screens.c

index 5459194ff9469db1cd3d7737258ca3b42ee2a420..fa1c14f8cadc7491f6a6b1f53ee27c1cc5ba8da2 100644 (file)
@@ -9094,9 +9094,9 @@ static void FreeThreadData_ApiGetScore(void *data_raw)
   checked_free(data);
 }
 
-static void ApiGetScoreExt(struct HttpRequest *request,
-                          struct HttpResponse *response,
-                          void *data_raw)
+static void ApiGetScore_HttpRequest(struct HttpRequest *request,
+                                   struct HttpResponse *response,
+                                   void *data_raw)
 {
   struct ApiGetScoreThreadData *data = data_raw;
   int level_nr = data->level_nr;
@@ -9176,8 +9176,7 @@ static int ApiGetScoreThread(void *data_raw)
   struct HttpRequest *request = checked_calloc(sizeof(struct HttpRequest));
   struct HttpResponse *response = checked_calloc(sizeof(struct HttpResponse));
 
-  ApiGetScoreExt(request, response,
-                data_raw);
+  ApiGetScore_HttpRequest(request, response, data_raw);
 
   FreeThreadData_ApiGetScore(data_raw);
 
@@ -9367,9 +9366,9 @@ static void FreeThreadData_ApiAddScore(void *data_raw)
   checked_free(data);
 }
 
-static void ApiAddScoreExt(struct HttpRequest *request,
-                          struct HttpResponse *response,
-                          void *data_raw)
+static void ApiAddScore_HttpRequest(struct HttpRequest *request,
+                                   struct HttpResponse *response,
+                                   void *data_raw)
 {
   struct ApiAddScoreThreadData *data = data_raw;
   int level_nr = data->level_nr;
@@ -9485,8 +9484,7 @@ static int ApiAddScoreThread(void *data_raw)
   struct HttpRequest *request = checked_calloc(sizeof(struct HttpRequest));
   struct HttpResponse *response = checked_calloc(sizeof(struct HttpResponse));
 
-  ApiAddScoreExt(request, response,
-                data_raw);
+  ApiAddScore_HttpRequest(request, response, data_raw);
 
   FreeThreadData_ApiAddScore(data_raw);
 
index bb7a2b5b3399f9598d48763873fa065488723fc4..307d100efad9479257426cc2a58127f4cde70c67 100644 (file)
@@ -4068,9 +4068,9 @@ static void FreeThreadData_ApiRenamePlayer(void *data_raw)
   checked_free(data);
 }
 
-static void ApiRenamePlayerExt(struct HttpRequest *request,
-                              struct HttpResponse *response,
-                              void *data_raw)
+static void ApiRenamePlayer_HttpRequest(struct HttpRequest *request,
+                                       struct HttpResponse *response,
+                                       void *data_raw)
 {
   struct ApiRenamePlayerThreadData *data = data_raw;
   char *player_name_raw = data->player_name;
@@ -4125,7 +4125,7 @@ static int ApiRenamePlayerThread(void *data_raw)
   struct HttpRequest *request = checked_calloc(sizeof(struct HttpRequest));
   struct HttpResponse *response = checked_calloc(sizeof(struct HttpResponse));
 
-  ApiRenamePlayerExt(request, response, data_raw);
+  ApiRenamePlayer_HttpRequest(request, response, data_raw);
 
   FreeThreadData_ApiRenamePlayer(data_raw);