Re: Problem with CONFIG_SYSCTL disabled

From: YOSHIFUJI Hideaki / 吉藤英明
Date: Mon Jan 19 2004 - 08:47:39 EST


In article <1074519043.6070.93.camel@pegasus> (at Mon, 19 Jan 2004 14:30:43 +0100), Marcel Holtmann <marcel@xxxxxxxxxxxx> says:

> In file included from drivers/net/net_init.c:53:
> include/net/neighbour.h:216: error: parse error before "proc_handler"
> include/net/neighbour.h:216: warning: function declaration isn't a prototype

===== include/net/neighbour.h 1.5 vs edited =====
--- 1.5/include/net/neighbour.h Thu Jan 15 17:58:09 2004
+++ edited/include/net/neighbour.h Mon Jan 19 22:42:24 2004
@@ -47,9 +47,7 @@
#include <linux/skbuff.h>

#include <linux/err.h>
-#ifdef CONFIG_SYSCTL
#include <linux/sysctl.h>
-#endif

#define NUD_IN_TIMER (NUD_INCOMPLETE|NUD_DELAY|NUD_PROBE)
#define NUD_VALID (NUD_PERMANENT|NUD_NOARP|NUD_REACHABLE|NUD_PROBE|NUD_STALE|NUD_DELAY)

--
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/