[2.6 patch] net/ipv4/ipconfig.c should #include <linux/nfs_fs.h>

From: Adrian Bunk (bunk_at_stusta.de)
Date: 09/03/05

  • Next message: Adrian Bunk: "[2.6 patch] net/netfilter/nfnetlink*: make functions static"
    Date:	Sat, 3 Sep 2005 03:25:43 +0200
    To: netdev@vger.kernel.org
    
    

    Every file should #include the header files containing the prototypes of
    it's global functions.

    nfs_fs.h contains the prototype of root_nfs_parse_addr().

    Signed-off-by: Adrian Bunk <bunk@stusta.de>

    --- linux-2.6.13-mm1-full/net/ipv4/ipconfig.c.old 2005-09-03 02:18:06.000000000 +0200
    +++ linux-2.6.13-mm1-full/net/ipv4/ipconfig.c 2005-09-03 02:18:27.000000000 +0200
    @@ -54,6 +54,7 @@
     #include <linux/major.h>
     #include <linux/root_dev.h>
     #include <linux/delay.h>
    +#include <linux/nfs_fs.h>
     #include <net/arp.h>
     #include <net/ip.h>
     #include <net/ipconfig.h>

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Adrian Bunk: "[2.6 patch] net/netfilter/nfnetlink*: make functions static"

    Relevant Pages