summaryrefslogtreecommitdiff
path: root/package/rpcbind/patches/patch-src_warmstart_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/rpcbind/patches/patch-src_warmstart_c')
-rw-r--r--package/rpcbind/patches/patch-src_warmstart_c13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/rpcbind/patches/patch-src_warmstart_c b/package/rpcbind/patches/patch-src_warmstart_c
new file mode 100644
index 000000000..79b342550
--- /dev/null
+++ b/package/rpcbind/patches/patch-src_warmstart_c
@@ -0,0 +1,13 @@
+--- rpcbind-0.2.3.orig/src/warmstart.c 2015-04-27 16:07:43.000000000 +0200
++++ rpcbind-0.2.3/src/warmstart.c 2016-10-08 18:19:45.000000000 +0200
+@@ -58,8 +58,8 @@
+ #define PMAPFILE RPCBIND_STATEDIR "/portmap.xdr"
+ #endif
+
+-static bool_t write_struct __P((char *, xdrproc_t, void *));
+-static bool_t read_struct __P((char *, xdrproc_t, void *));
++static bool_t write_struct (char *, xdrproc_t, void *);
++static bool_t read_struct (char *, xdrproc_t, void *);
+
+ static bool_t
+ write_struct(char *filename, xdrproc_t structproc, void *list)