lkml.org 
[lkml]   [2000]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.031 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site