lkml.org 
[lkml]   [2010]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 4/9] Documentation/timers/hpet_example: drop duplicate header files
    From: Andrea Gelmini <andrea.gelmini@gelma.net>

    Documentation/timers/hpet_example.c: fcntl.h is included more than once.
    Documentation/timers/hpet_example.c: signal.h is included more than once.

    Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
    Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
    ---
    Documentation/timers/hpet_example.c | 2 --
    1 file changed, 2 deletions(-)

    --- lnx-2634-docs.orig/Documentation/timers/hpet_example.c
    +++ lnx-2634-docs/Documentation/timers/hpet_example.c
    @@ -10,7 +10,6 @@
    #include <sys/types.h>
    #include <sys/wait.h>
    #include <signal.h>
    -#include <fcntl.h>
    #include <errno.h>
    #include <sys/time.h>
    #include <linux/hpet.h>
    @@ -24,7 +23,6 @@ extern void hpet_read(int, const char **

    #include <sys/poll.h>
    #include <sys/ioctl.h>
    -#include <signal.h>

    struct hpet_command {
    char *command;

    --



    \
     
     \ /
      Last update: 2010-05-24 02:13    [W:0.033 / U:59.208 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site