summaryrefslogtreecommitdiff
path: root/package/ppp/patches/patch-solaris_ppp_mod_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-17 16:39:18 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-17 16:39:18 +0100
commit58a0648738fc9e3454b526473cb8355af1e32925 (patch)
tree7872c06d161a353a9c45d0f3533701d79555daef /package/ppp/patches/patch-solaris_ppp_mod_c
parent0e00f45497ec1762b903fc07162d8d32452a1252 (diff)
enable musl build, patches via lua script from alpinelinux
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;