[refactor] fix build warnings in server

This commit is contained in:
Julian Sparber
2017-09-29 18:24:35 +02:00
parent 3246eb9c2d
commit 42d3dda0ab
2 changed files with 3 additions and 3 deletions

View File

@@ -355,7 +355,7 @@ int addRouteToServer(char *name, char *file_to_send, char *destination) {
return 0; return 0;
} }
int run_http_server() { extern int run_http_server(void) {
//GMainLoop *loop; //GMainLoop *loop;
GSList *uris, *u; GSList *uris, *u;
char *str; char *str;

View File

@@ -2,7 +2,7 @@
#define __SERVER_H #define __SERVER_H
extern int run_http_server(); extern int run_http_server(void);
extern int addRouteToServer(); extern int addRouteToServer(char *, char *, char *);
#endif /* __SERVER_H */ #endif /* __SERVER_H */