mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-17 22:52:40 +01:00
25 lines
699 B
Diff
25 lines
699 B
Diff
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;
|