summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/netcat/netcat-openbsd/0001-fix-netcat-openbsd-ftbfs-with-GCC-15.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/netcat/netcat-openbsd/0001-fix-netcat-openbsd-ftbfs-with-GCC-15.patch')
-rw-r--r--meta-networking/recipes-support/netcat/netcat-openbsd/0001-fix-netcat-openbsd-ftbfs-with-GCC-15.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta-networking/recipes-support/netcat/netcat-openbsd/0001-fix-netcat-openbsd-ftbfs-with-GCC-15.patch b/meta-networking/recipes-support/netcat/netcat-openbsd/0001-fix-netcat-openbsd-ftbfs-with-GCC-15.patch
index c1757d39ad..d574ee0b67 100644
--- a/meta-networking/recipes-support/netcat/netcat-openbsd/0001-fix-netcat-openbsd-ftbfs-with-GCC-15.patch
+++ b/meta-networking/recipes-support/netcat/netcat-openbsd/0001-fix-netcat-openbsd-ftbfs-with-GCC-15.patch
@@ -28,19 +28,19 @@ Signed-off-by: mark.yang <mark.yang@lge.com>
28 1 file changed, 2 insertions(+), 2 deletions(-) 28 1 file changed, 2 insertions(+), 2 deletions(-)
29 29
30diff --git a/netcat.c b/netcat.c 30diff --git a/netcat.c b/netcat.c
31index d70598a..b8ba959 100644 31index 62d01d8..7367f47 100644
32--- a/netcat.c 32--- a/netcat.c
33+++ b/netcat.c 33+++ b/netcat.c
34@@ -238,7 +238,7 @@ char *proto_name(int uflag, int dccpflag); 34@@ -237,7 +237,7 @@ ssize_t fillbuf(int, unsigned char *, size_t *);
35 static int connect_with_timeout(int fd, const struct sockaddr *sa,
36 socklen_t salen, int ctimeout);
37 35
36 char *proto_name(int, int);
37 static int connect_with_timeout(int, const struct sockaddr *, socklen_t, int);
38-static void quit(); 38-static void quit();
39+static void quit(int sig); 39+static void quit(int sig);
40 40
41 int b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize); 41 int b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize);
42 int b64_pton(char const *src, u_char *target, size_t targsize); 42 int b64_pton(char const *src, u_char *target, size_t targsize);
43@@ -2235,7 +2235,7 @@ usage(int ret) 43@@ -2347,7 +2347,7 @@ usage(int ret)
44 * quit() 44 * quit()
45 * handler for a "-q" timeout (exit 0 instead of 1) 45 * handler for a "-q" timeout (exit 0 instead of 1)
46 */ 46 */