fix function prototypes in server.h
This commit is contained in:
parent
fb4052dcff
commit
79830a9745
6
server.h
6
server.h
@ -6,7 +6,7 @@
|
||||
#define QOTD_SERVER_H
|
||||
|
||||
#include <sys/socket.h>
|
||||
//#include <sys/types.h>
|
||||
#include <sys/types.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <stdlib.h>
|
||||
@ -21,8 +21,8 @@
|
||||
|
||||
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user