From: Holger Schemel Date: Sat, 25 Sep 2021 00:08:38 +0000 (+0200) Subject: renamed functions X-Git-Tag: 4.3.0.0~36 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=721b2961c414daaa4ff380a8c1b83c2d65b00d79;p=rocksndiamonds.git renamed functions --- diff --git a/src/files.c b/src/files.c index 5459194f..fa1c14f8 100644 --- a/src/files.c +++ b/src/files.c @@ -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); diff --git a/src/screens.c b/src/screens.c index bb7a2b5b..307d100e 100644 --- a/src/screens.c +++ b/src/screens.c @@ -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);