--- a/src/network.h Tue Sep 08 13:55:48 2026 +0200 +++ b/src/network.h Tue Sep 08 14:34:48 2026 +0200 @@ -33,10 +33,6 @@ #include <sys/socket.h> #include <stdint.h> -#ifdef __cplusplus -extern "C" { -#endif - #define NETCODE_ACCEPT 0x01 #define NETCODE_DECLINE 0x02 #define NETCODE_GAMEINFO 0x10 @@ -156,9 +152,5 @@ return net_ntohl(l); } -#ifdef __cplusplus -} -#endif - #endif /* TCHESS_NETWORK_H */