[PATCH]:2.3.1x ewrk3.c

Hans-Joachim (dd8ne@bnv-bamberg.de)
Sun, 22 Aug 1999 07:57:47 +0200


Since 2.3.10, ewrk3 doesn't compile any more. It is the position of __init,
which creates a compiler error.

Enclosed, the small patch, witch solves this problem:

--- ewrk3.c.original Sat Aug 21 08:16:13 1999
+++ ewrk3.c Sat Aug 21 08:16:41 1999
@@ -1414,7 +1414,7 @@
** If at end of eth device list and can't use current entry, malloc
** one up. If memory could not be allocated, print an error message.
*/
-static __init struct net_device *
+static struct net_device * __init
insert_device(struct net_device *dev, u_long iobase, int (*init) (struct net_device *))
{
struct net_device *new;

--

DD8NE : Hans-Joachim Hetscher IP-Adr. : [44.130.62.1] amprNet : dd8ne@db0nei.ampr.org AX25 : DD8NE@DB0LJ.#RPL.DEU.EU Internet: ba0276@bnv-bamberg.de hans-joachim.hetscher@de.michelin.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/