aboutsummaryrefslogtreecommitdiffstats
path: root/main/sipsak/fix-inline.patch
blob: 1556805c82fda5dd440c82af58e0b0aca1591942 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git a/header_f.h.orig b/header_f.h
index 19d22b4..64885f0 100644
--- a/header_f.h.orig
+++ b/header_f.h
@@ -61,5 +61,5 @@ void new_transaction(char *message);
 
 void print_message_line(char *message);
 
-inline char* get_body(char *mes);
+extern char* get_body(char *mes);
 #endif
diff --git a/helper.c b/helper.c
index 547f4e7..117d6f1 100644
--- a/helper.c
+++ b/helper.c
@@ -299,7 +299,7 @@ static void cares_callback(void *arg, int status, int timeouts, unsigned char *a
 	}
 }
 
-inline unsigned long srv_ares(char *host, int *port, char *srv) {
+static unsigned long srv_ares(char *host, int *port, char *srv) {
 	int nfds, count, srvh_len;
 	char *srvh;
 	fd_set read_fds, write_fds;