Re: [PATCH 02/13] net: Include appropriate header file incaif/caif_dev.c
From: Josh Triplett
Date: Sat Feb 08 2014 - 15:04:57 EST
On Sun, Feb 09, 2014 at 01:19:43AM +0530, Rashika Kheria wrote:
> Include appropriate header file net/caif/caif_dev.h in caif/caif_dev.c
> because it has prototype declarations of function defined in
> caif/caif_dev.c.
>
> This eliminates the following file in caif/caif_dev.c:
> net/caif/caif_dev.c:303:6: warning: no previous prototype for âcaif_enroll_devâ [-Wmissing-prototypes]
>
> Signed-off-by: Rashika Kheria <rashika.kheria@xxxxxxxxx>
Reviewed-by: Josh Triplett <josh@xxxxxxxxxxxxxxxx>
> net/caif/caif_dev.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/net/caif/caif_dev.c b/net/caif/caif_dev.c
> index 4dca159..edbca46 100644
> --- a/net/caif/caif_dev.c
> +++ b/net/caif/caif_dev.c
> @@ -22,6 +22,7 @@
> #include <net/pkt_sched.h>
> #include <net/caif/caif_device.h>
> #include <net/caif/caif_layer.h>
> +#include <net/caif/caif_dev.h>
> #include <net/caif/cfpkt.h>
> #include <net/caif/cfcnfg.h>
> #include <net/caif/cfserl.h>
> --
> 1.7.9.5
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/