lkml.org 
[lkml]   [2005]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[DVB patch 23/37] dvb-pll.h: prevent multiple inclusion
    added missing #ifndef and #define to inhibit multiple inclusions (Patrick Boettcher)

    Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
    ---

    drivers/media/dvb/frontends/dvb-pll.h | 10 ++++------
    1 files changed, 4 insertions(+), 6 deletions(-)

    Index: linux-2.6.12-rc4/drivers/media/dvb/frontends/dvb-pll.h
    ===================================================================
    --- linux-2.6.12-rc4.orig/drivers/media/dvb/frontends/dvb-pll.h 2005-05-08 15:55:37.000000000 +0200
    +++ linux-2.6.12-rc4/drivers/media/dvb/frontends/dvb-pll.h 2005-05-08 16:31:55.000000000 +0200
    @@ -2,6 +2,9 @@
    * $Id: dvb-pll.h,v 1.2 2005/02/10 11:43:41 kraxel Exp $
    */

    +#ifndef __DVB_PLL_H__
    +#define __DVB_PLL_H__
    +
    struct dvb_pll_desc {
    char *name;
    u32 min;
    @@ -26,9 +29,4 @@ extern struct dvb_pll_desc dvb_pll_unkno
    int dvb_pll_configure(struct dvb_pll_desc *desc, u8 *buf,
    u32 freq, int bandwidth);

    -/*
    - * Local variables:
    - * c-basic-offset: 8
    - * compile-command: "make DVB=1"
    - * End:
    - */
    +#endif
    --

    -
    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: 2005-05-08 22:39    [W:0.034 / U:118.548 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site