diff options
author | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-01-23 15:39:12 +0000 |
---|---|---|
committer | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-01-23 15:39:12 +0000 |
commit | 412656572604454581bf1f6599d68f686543e57c (patch) | |
tree | e80f0e1954c2754885d87f10175a24180283f697 /ztd-eth.c | |
parent | b2c0d8b6576b26631db7c450ac16c3776d80f476 (diff) |
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
Diffstat (limited to 'ztd-eth.c')
-rw-r--r-- | ztd-eth.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |