[patchlet] Minor compile warnings from net/appletalk/aarp.c (240t8p1)

From: Rasmus Andersen (rasmus@jaquet.dk)
Date: Thu Aug 31 2000 - 14:28:59 EDT

  • Next message: Ricky Beam: "Re: 2T for i386"

    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/



    This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 14:36:57 EDT