[refactor] fix build warnings in server
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user