• Harvey Harrison's avatar
    Add macros similar to min/max/min_t/max_t · bdf4bbaa
    Harvey Harrison authored
    Also, change the variable names used in the min/max macros to avoid shadowed
    variable warnings when min/max min_t/max_t are nested.
    
    Small formatting changes to make all the macros have a similar form.
    
    [akpm@linux-foundation.org: coding-style fixes]
    [akpm@linux-foundation.org: fix v4l build]
    Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
    Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    Cc: Jeff Garzik <jeff@garzik.org>
    Cc: Tejun Heo <htejun@gmail.com>
    Cc: Michael Buesch <mb@bu3sch.de>
    Cc: "John W. Linville" <linville@tuxdriver.com>
    Cc: Miklos Szeredi <miklos@szeredi.hu>
    Cc: Dmitry Torokhov <dtor@mail.ru>
    Cc: Jiri Kosina <jkosina@suse.cz>
    Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
    Cc: Randy Dunlap <randy.dunlap@oracle.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    bdf4bbaa
bttvp.h 13.3 KB