From e4fd7d8bb4bef2a57f2c086abac23d2955a4af71 Mon Sep 17 00:00:00 2001 From: Michael Ortmann <41313082+michaelortmann@users.noreply.github.com> Date: Sat, 30 Oct 2021 13:20:19 +0200 Subject: [PATCH] cleanup --- src/mod/server.mod/server.c | 3 +-- src/mod/server.mod/server.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mod/server.mod/server.c b/src/mod/server.mod/server.c index b1554451b..8ef3b2b33 100644 --- a/src/mod/server.mod/server.c +++ b/src/mod/server.mod/server.c @@ -2166,8 +2166,7 @@ static Function server_table[] = { (Function) & isupport_get, /* */ /* 48 - 51 */ (Function) & isupport_parseint, - (Function) do_nettype_server, - (Function) & net_type /* int */ + (Function) do_nettype_server }; char *server_start(Function *global_funcs) diff --git a/src/mod/server.mod/server.h b/src/mod/server.mod/server.h index 7121317fa..24c121b1b 100644 --- a/src/mod/server.mod/server.h +++ b/src/mod/server.mod/server.h @@ -96,7 +96,6 @@ /* 48 - 51 */ #define isupport_parseint ((int (*)(const char *, const char *, int, int, int, int, int *))(server_funcs[48])) #define do_nettype_server ((void (*) (void))server_funcs[49]) -#define net_type ((char *)(server_funcs[50])) #endif /* MAKING_SERVER */ struct server_list {