Messages in this thread Patch in this message |  | | Date | Thu, 31 Aug 2000 20:28:59 +0200 | From | Rasmus Andersen <> | Subject | [patchlet] Minor compile warnings from net/appletalk/aarp.c (240t8p1) |
| |
Hi.
When I compile net/appletalk/aarp.c without procfs support I get the following warning:
net/appletalk/aarp.c:1089: warning: `aarp_get_info' defined but not used
The following patch fixes this:
--- linux-240test7-pre2-clean/net/appletalk/aarp.c Mon Jul 31 21:05:04 2000 +++ linux/net/appletalk/aarp.c Sun Aug 13 21:05:01 2000 @@ -1085,6 +1085,7 @@ /* * Called from proc fs */ +#ifdef CONFIG_PROC_FS static int aarp_get_info(char *buffer, char **start, off_t offset, int length) { /* we should dump all our AARP entries */ @@ -1171,6 +1172,7 @@ return len; } +#endif /* CONFIG_PROC_FS */ #ifdef MODULE /* -- Rasmus(rasmus@jaquet.dk)
"I have a nice perspective on what it means to be in charge of the most important project in the history of mankind." --Brian Valentine, W2k Proj Mgr - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |