[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;
|
||||
}
|
||||
|
||||
int run_http_server() {
|
||||
extern int run_http_server(void) {
|
||||
//GMainLoop *loop;
|
||||
GSList *uris, *u;
|
||||
char *str;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define __SERVER_H
|
||||
|
||||
|
||||
extern int run_http_server();
|
||||
extern int addRouteToServer();
|
||||
extern int run_http_server(void);
|
||||
extern int addRouteToServer(char *, char *, char *);
|
||||
|
||||
#endif /* __SERVER_H */
|
||||
|
||||
Reference in New Issue
Block a user