lkml.org 
[lkml]   [2014]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 02/13] net: Include appropriate header file in caif/caif_dev.c
    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@gmail.com>

    Reviewed-by: Josh Triplett <josh@joshtriplett.org>

    > 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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2014-02-08 21:21    [W:3.004 / U:0.440 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site