From 412656572604454581bf1f6599d68f686543e57c Mon Sep 17 00:00:00 2001 From: kpfleming Date: Tue, 23 Jan 2007 15:39:12 +0000 Subject: use the proper function prototype for 2.6 kernels git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1923 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- ztd-eth.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ztd-eth.c b/ztd-eth.c index c13a32d..56ae42d 100644 --- a/ztd-eth.c +++ b/ztd-eth.c @@ -84,7 +84,11 @@ struct zt_span *ztdeth_getspan(unsigned char *addr, unsigned short subaddr) return span; } +#if defined(LINUX26) +static int ztdeth_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev) +#else static int ztdeth_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt) +#endif { struct zt_span *span; struct ztdeth_header *zh; -- cgit v1.2.3