summaryrefslogtreecommitdiff
path: root/mail-filter/dcc/files/dcc-1.3.158-c2x.patch
blob: 79b70f300f8fba59e8302f31c5ea637708f29f45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
This is the only K&R-style functions in the source, incompatible with C2x.
--- a/dcclib/inet_ntop.c
+++ b/dcclib/inet_ntop.c
@@ -88,7 +88,3 @@
  */
-static const char *
-inet_ntop4(src, dst, size)
-	const u_char *src;
-	char *dst;
-	size_t size;
+static const char *inet_ntop4(const u_char *src, char *dst, size_t size)
 {
@@ -115,7 +111,3 @@
  */
-static const char *
-inet_ntop6(src, dst, size)
-	const u_char *src;
-	char *dst;
-	size_t size;
+static const char *inet_ntop6(const u_char *src, char *dst, size_t size)
 {