summaryrefslogtreecommitdiff
path: root/package/ppp/patches/patch-solaris_ppp_mod_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/ppp/patches/patch-solaris_ppp_mod_c')
-rw-r--r--package/ppp/patches/patch-solaris_ppp_mod_c17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/ppp/patches/patch-solaris_ppp_mod_c b/package/ppp/patches/patch-solaris_ppp_mod_c
new file mode 100644
index 000000000..1d3f48fde
--- /dev/null
+++ b/package/ppp/patches/patch-solaris_ppp_mod_c
@@ -0,0 +1,17 @@
+--- ppp-2.4.5.orig/solaris/ppp_mod.c 2009-11-16 23:26:07.000000000 +0100
++++ ppp-2.4.5/solaris/ppp_mod.c 2014-03-17 16:13:16.000000000 +0100
+@@ -53,10 +53,10 @@
+ #define __P(x) ()
+ #endif
+
+-static int ppp_identify __P((dev_info_t *));
+-static int ppp_attach __P((dev_info_t *, ddi_attach_cmd_t));
+-static int ppp_detach __P((dev_info_t *, ddi_detach_cmd_t));
+-static int ppp_devinfo __P((dev_info_t *, ddi_info_cmd_t, void *, void **));
++static int ppp_identify (dev_info_t *);
++static int ppp_attach (dev_info_t *, ddi_attach_cmd_t);
++static int ppp_detach (dev_info_t *, ddi_detach_cmd_t);
++static int ppp_devinfo (dev_info_t *, ddi_info_cmd_t, void *, void **);
+
+ extern struct streamtab pppinfo;
+ extern krwlock_t ppp_lower_lock;