fix function prototypes in server.h

This commit is contained in:
Arthur-Coppey 2021-11-26 13:40:21 +01:00
parent fb4052dcff
commit 79830a9745

View File

@ -6,7 +6,7 @@
#define QOTD_SERVER_H #define QOTD_SERVER_H
#include <sys/socket.h> #include <sys/socket.h>
//#include <sys/types.h> #include <sys/types.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <stdlib.h> #include <stdlib.h>
@ -21,8 +21,8 @@
void server(int tcp, int ipv6); void server(int tcp, int ipv6);
void tcpServer(); void tcpListen(int serverSocket, struct sockaddr *clientAddress, unsigned long addressLength);
_Noreturn void udpServer(); _Noreturn void udpListen(int serverSocket, struct sockaddr *clientAddress, unsigned long addressLength);
#endif //QOTD_SERVER_H #endif //QOTD_SERVER_H