Commit 3b68bd17 authored by Jean-Paul Saman's avatar Jean-Paul Saman

iso_639_languague_code_t is defined in two descriptors.

Make sure these definitions do not interact with each other.
parent ee840aba
......@@ -32,6 +32,13 @@
#ifndef _DVBPSI_DR_H_
#define _DVBPSI_DR_H_
/* common definitions */
#ifndef DVBPSI_ISO639_LANGUAGE_CODE_T
#define DVBPSI_ISO639_LANGUAGE_CODE_T 1
typedef uint8_t iso_639_language_code_t[3]; /*!< ISO639 three letter language codes */
#endif
/* Descriptors */
#include "dr_02.h"
#include "dr_03.h"
#include "dr_04.h"
......
......@@ -40,7 +40,11 @@ extern "C" {
#endif
#define DR_0A_API_VER 2 /*!< descriptor 0a API version */
#ifndef DVBPSI_ISO639_LANGUAGE_CODE_T
#define DVBPSI_ISO639_LANGUAGE_CODE_T 1
typedef uint8_t iso_639_language_code_t[3]; /*!< ISO639 three letter language codes */
#endif
/*****************************************************************************
* dvbpsi_iso639_dr_t
......
......@@ -38,7 +38,10 @@
extern "C" {
#endif
#ifndef DVBPSI_ISO639_LANGUAGE_CODE_T
#define DVBPSI_ISO639_LANGUAGE_CODE_T 1
typedef uint8_t iso_639_language_code_t[3]; /*!< ISO639 three letter language codes */
#endif
/*****************************************************************************
* dvbpsi_country_availability_dr_t
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment