master hovercats/oakiss / pkg / iproute2 / patch / 0006-Remove-semicolon-after-function-definitions.patch
 1From 12c947c84f95faac8d951804d097eed6bd5a2570 Mon Sep 17 00:00:00 2001
 2From: Michael Forney <mforney@mforney.org>
 3Date: Sun, 16 Jun 2019 12:39:04 -0700
 4Subject: [PATCH] Remove semicolon after function definitions
 5
 6---
 7 lib/json_print.c | 22 +++++++++++-----------
 8 1 file changed, 11 insertions(+), 11 deletions(-)
 9
10diff --git a/lib/json_print.c b/lib/json_print.c
11index 810d496e..97d7defe 100644
12--- a/lib/json_print.c
13+++ b/lib/json_print.c
14@@ -133,15 +133,15 @@ void close_json_array(enum output_type type, const char *str)
15 		}							\
16 		return ret;						\
17 	}
18-_PRINT_FUNC(int, int);
19-_PRINT_FUNC(s64, int64_t);
20-_PRINT_FUNC(hhu, unsigned char);
21-_PRINT_FUNC(hu, unsigned short);
22-_PRINT_FUNC(uint, unsigned int);
23-_PRINT_FUNC(u64, uint64_t);
24-_PRINT_FUNC(luint, unsigned long);
25-_PRINT_FUNC(lluint, unsigned long long);
26-_PRINT_FUNC(float, double);
27+_PRINT_FUNC(int, int)
28+_PRINT_FUNC(s64, int64_t)
29+_PRINT_FUNC(hhu, unsigned char)
30+_PRINT_FUNC(hu, unsigned short)
31+_PRINT_FUNC(uint, unsigned int)
32+_PRINT_FUNC(u64, uint64_t)
33+_PRINT_FUNC(luint, unsigned long)
34+_PRINT_FUNC(lluint, unsigned long long)
35+_PRINT_FUNC(float, double)
36 #undef _PRINT_FUNC
37 
38 #define _PRINT_NAME_VALUE_FUNC(type_name, type, format_char)		 \
39@@ -153,8 +153,8 @@ _PRINT_FUNC(float, double);
40 			 "%s %%"#format_char, name);			 \
41 		print_##type_name(PRINT_ANY, name, format, value);	 \
42 	}
43-_PRINT_NAME_VALUE_FUNC(uint, unsigned int, u);
44-_PRINT_NAME_VALUE_FUNC(string, const char*, s);
45+_PRINT_NAME_VALUE_FUNC(uint, unsigned int, u)
46+_PRINT_NAME_VALUE_FUNC(string, const char*, s)
47 #undef _PRINT_NAME_VALUE_FUNC
48 
49 int print_color_string(enum output_type type,
50-- 
512.44.0
52