PROBLEM: ewrk3.c doesn't compile under 2.3.10

Hans-Joachim Hetscher (dd8ne@bnv-bamberg.de)
Mon, 12 Jul 1999 05:24:25 +0200


Hello,

there is a little 'bug' in the erwk3.c program. It doesn't compile under 2.3.10.

Here is the small patch to solve this problem:

--- ewrk3.c.orig Sun Jul 11 08:17:35 1999
+++ ewrk3.c Sun Jul 11 08:38:07 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 device *
+static struct device * __init
insert_device(struct device *dev, u_long iobase, int (*init) (struct device *)
{

Bye

Hans-Joachim

--

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/