summaryrefslogtreecommitdiff
path: root/pkg/iproute2/patch/0007-Remove-semicolon-after-function-definitions.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2024-03-21 23:29:18 -0700
committerMichael Forney <mforney@mforney.org>2024-03-21 23:29:18 -0700
commit594971b59caa1d75f0179de8d612375f410a7566 (patch)
treedd14cb80cc3c90a9019b0d9442a2dd8d6a02d9df /pkg/iproute2/patch/0007-Remove-semicolon-after-function-definitions.patch
parent01eb93d6f752c2bb3815bb794572231651f105fa (diff)
Remove obsolete portability patches with C23 and new cproc
Diffstat (limited to 'pkg/iproute2/patch/0007-Remove-semicolon-after-function-definitions.patch')
-rw-r--r--pkg/iproute2/patch/0007-Remove-semicolon-after-function-definitions.patch52
1 files changed, 0 insertions, 52 deletions
diff --git a/pkg/iproute2/patch/0007-Remove-semicolon-after-function-definitions.patch b/pkg/iproute2/patch/0007-Remove-semicolon-after-function-definitions.patch
deleted file mode 100644
index bbbca39f..00000000
--- a/pkg/iproute2/patch/0007-Remove-semicolon-after-function-definitions.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From 12c947c84f95faac8d951804d097eed6bd5a2570 Mon Sep 17 00:00:00 2001
-From: Michael Forney <mforney@mforney.org>
-Date: Sun, 16 Jun 2019 12:39:04 -0700
-Subject: [PATCH] Remove semicolon after function definitions
-
----
- lib/json_print.c | 22 +++++++++++-----------
- 1 file changed, 11 insertions(+), 11 deletions(-)
-
-diff --git a/lib/json_print.c b/lib/json_print.c
-index 810d496e..97d7defe 100644
---- a/lib/json_print.c
-+++ b/lib/json_print.c
-@@ -133,15 +133,15 @@ void close_json_array(enum output_type type, const char *str)
- } \
- return ret; \
- }
--_PRINT_FUNC(int, int);
--_PRINT_FUNC(s64, int64_t);
--_PRINT_FUNC(hhu, unsigned char);
--_PRINT_FUNC(hu, unsigned short);
--_PRINT_FUNC(uint, unsigned int);
--_PRINT_FUNC(u64, uint64_t);
--_PRINT_FUNC(luint, unsigned long);
--_PRINT_FUNC(lluint, unsigned long long);
--_PRINT_FUNC(float, double);
-+_PRINT_FUNC(int, int)
-+_PRINT_FUNC(s64, int64_t)
-+_PRINT_FUNC(hhu, unsigned char)
-+_PRINT_FUNC(hu, unsigned short)
-+_PRINT_FUNC(uint, unsigned int)
-+_PRINT_FUNC(u64, uint64_t)
-+_PRINT_FUNC(luint, unsigned long)
-+_PRINT_FUNC(lluint, unsigned long long)
-+_PRINT_FUNC(float, double)
- #undef _PRINT_FUNC
-
- #define _PRINT_NAME_VALUE_FUNC(type_name, type, format_char) \
-@@ -153,8 +153,8 @@ _PRINT_FUNC(float, double);
- "%s %%"#format_char, name); \
- print_##type_name(PRINT_ANY, name, format, value); \
- }
--_PRINT_NAME_VALUE_FUNC(uint, unsigned int, u);
--_PRINT_NAME_VALUE_FUNC(string, const char*, s);
-+_PRINT_NAME_VALUE_FUNC(uint, unsigned int, u)
-+_PRINT_NAME_VALUE_FUNC(string, const char*, s)
- #undef _PRINT_NAME_VALUE_FUNC
-
- int print_color_string(enum output_type type,
---
-2.44.0
-