[2.6 patch] net/atm/ioctl.c should #include "common.h"

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

  • Next message: Jiri Slaby: "[PATCH 0/6] include, sound: pci_find_device remove"
    Date:	Fri, 2 Sep 2005 23:24:39 +0200
    To: chas@cmf.nrl.navy.mil
    
    

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

    common.h contains the prototype for vcc_ioctl().

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

    --- linux-2.6.13-mm1-full/net/atm/ioctl.c.old 2005-09-02 23:01:46.000000000 +0200
    +++ linux-2.6.13-mm1-full/net/atm/ioctl.c 2005-09-02 23:17:06.000000000 +0200
    @@ -21,6 +21,7 @@
     
     #include "resources.h"
     #include "signaling.h" /* for WAITING and sigd_attach */
    +#include "common.h"
     
     
     static DECLARE_MUTEX(ioctl_mutex);

    -
    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: Jiri Slaby: "[PATCH 0/6] include, sound: pci_find_device remove"

    Relevant Pages