summaryrefslogtreecommitdiff
path: root/package/ppp/patches/patch-pppd_pppcrypt_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/ppp/patches/patch-pppd_pppcrypt_h')
-rw-r--r--package/ppp/patches/patch-pppd_pppcrypt_h14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/ppp/patches/patch-pppd_pppcrypt_h b/package/ppp/patches/patch-pppd_pppcrypt_h
new file mode 100644
index 000000000..53cac9746
--- /dev/null
+++ b/package/ppp/patches/patch-pppd_pppcrypt_h
@@ -0,0 +1,14 @@
+--- ppp-2.4.5.orig/pppd/pppcrypt.h 2009-11-16 23:26:07.000000000 +0100
++++ ppp-2.4.5/pppd/pppcrypt.h 2014-03-17 16:13:13.000000000 +0100
+@@ -41,8 +41,8 @@
+ #include <des.h>
+ #endif
+
+-extern bool DesSetkey __P((u_char *));
+-extern bool DesEncrypt __P((u_char *, u_char *));
+-extern bool DesDecrypt __P((u_char *, u_char *));
++extern bool DesSetkey (u_char *);
++extern bool DesEncrypt (u_char *, u_char *);
++extern bool DesDecrypt (u_char *, u_char *);
+
+ #endif /* PPPCRYPT_H */