Re: [PATCH] Rearrange declaration of dvbpsi_msg_level_t so that it works with g++

Jean-Paul Saman <[email protected]>
Newsgroups gmane.comp.video.videolan.libdvbpsi.devel
Message-ID <CAK9US3CAHG24=8=nwv_Vtrr2zzrW5X+_VG8p3=2gFqgi2Hx_Fg@mail.gmail.com>
On Wed, Oct 24, 2012 at 11:44 PM, Martin Jackson
<[email protected]> wrote:
> Rearrange declaration of dvbpsi_msg_level_t so that it works with g++

Patch applied.

Kind regards,

Jean-Paul Saman.

>
> ---
>  src/dvbpsi.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/dvbpsi.h b/src/dvbpsi.h
> index 3118da8..0473392 100644
> --- a/src/dvbpsi.h
> +++ b/src/dvbpsi.h
> @@ -55,7 +55,6 @@ typedef struct dvbpsi_s dvbpsi_t;
>   * \typedef enum dvbpsi_msg_level dvbpsi_msg_level_t
>   * \brief DVBPSI message level enum
>   */
> -typedef enum dvbpsi_msg_level dvbpsi_msg_level_t;
>  enum dvbpsi_msg_level
>  {
>      DVBPSI_MSG_NONE  = -1, /*!< No messages */
> @@ -63,6 +62,7 @@ enum dvbpsi_msg_level
>      DVBPSI_MSG_WARN  =  1, /*!< Error and Warning messages */
>      DVBPSI_MSG_DEBUG =  2, /*!< Error, warning and debug messages */
>  };
> +typedef enum dvbpsi_msg_level dvbpsi_msg_level_t;
>
>  /*****************************************************************************
>   * dvbpsi_message_cb
> --
> 1.7.9.6 (Apple Git-31.1)
_______________________________________________
libdvbpsi-devel mailing list
[email protected]
http://mailman.videolan.org/listinfo/libdvbpsi-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.