lkml.org 
[lkml]   [2009]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Make exported headers use strict posix types
    On Thu, 5 Feb 2009 17:07:53 +0100
    Arnd Bergmann <arnd@arndb.de> wrote:

    > A number of standard posix types are used in exported headers, which
    > is not allowed if __STRICT_KERNEL_NAMES is defined. Change them all
    > to use the safe __kernel variant so that we can make __STRICT_KERNEL_NAMES
    > the default.
    >
    > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    > [...]
    > diff --git a/include/linux/dvb/video.h b/include/linux/dvb/video.h
    > index bd49c3e..ee5d2df 100644
    > --- a/include/linux/dvb/video.h
    > +++ b/include/linux/dvb/video.h
    > @@ -137,7 +137,7 @@ struct video_event {
    > #define VIDEO_EVENT_FRAME_RATE_CHANGED 2
    > #define VIDEO_EVENT_DECODER_STOPPED 3
    > #define VIDEO_EVENT_VSYNC 4
    > - time_t timestamp;
    > + __kernel_time_t timestamp;
    > union {
    > video_size_t size;
    > unsigned int frame_rate; /* in frames per 1000sec */
    > [...]

    For the dvb side, it seems ok.

    Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>

    Cheers,
    Mauro


    \
     
     \ /
      Last update: 2009-02-18 12:23    [W:0.063 / U:210.000 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site