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] Compile warnings in net/ipx/af_ipx.c (2.4.0-t8p1)
Hi.

When I compile net/ipx/af_ipx.c without procfs support I get the
following warnings:

net/ipx/af_ipx.c:1508: warning: `ipx_interface_get_info' defined but not used
net/ipx/af_ipx.c:1551: warning: `ipx_get_info' defined but not used
net/ipx/af_ipx.c:1632: warning: `ipx_rt_get_info' defined but not used

The following patch fixes this:

--- linux/net/ipx/af_ipx.c.org Sat Jul 29 23:59:27 2000
+++ linux/net/ipx/af_ipx.c Sun Jul 30 00:00:36 2000
@@ -1503,6 +1503,7 @@
}

/* Called from proc fs */
+#ifdef CONFIG_PROC_FS
static int ipx_interface_get_info(char *buffer, char **start, off_t offset,
int length)
{
@@ -1671,7 +1672,7 @@

return (len);
}
-
+#endif /*CONFIG_PROC_FS*/
/**************************************************************************\
* *
* Handling for system calls applied via the various interfaces to an *
--
Regards,
Rasmus(rasmus@jaquet.dk)

People are more violently opposed to fur than leather because
it's safer to pick on rich women than biker gangs. -- Anonymous
-
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.029 / U:2.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site