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

Martin Jackson <[email protected]>
Newsgroups gmane.comp.video.videolan.libdvbpsi.devel
Message-ID <CABMKUD-5-Whe0+2g1o9VOi6v5Yp9q6d2622MEazqmYQN7iD9EA@mail.gmail.com>
Rearrange declaration of dvbpsi_msg_level_t so that it works with g++

---
 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.