From a4f803bb10393e81863f5ef3d744d5d429756a10 Mon Sep 17 00:00:00 2001 From: daniel_peintner Date: Tue, 5 Sep 2017 08:13:51 +0000 Subject: [PATCH] fix issue w.r.t. "warning: its scope is only this definition or declaration, which is probably not what you want " git-svn-id: https://svn.code.sf.net/p/openv2g/code/trunk@103 d9f2db14-54d0-4bde-b00c-16405c910529 --- src/din/dinEXIDatatypesDecoder.h | 4 +++- src/din/dinEXIDatatypesEncoder.h | 3 ++- src/iso1/iso1EXIDatatypesDecoder.h | 4 +++- src/iso1/iso1EXIDatatypesEncoder.h | 5 +++-- src/iso2/iso2EXIDatatypesDecoder.h | 4 +++- src/iso2/iso2EXIDatatypesEncoder.h | 4 +++- src/xmldsig/xmldsigEXIDatatypesDecoder.h | 3 ++- src/xmldsig/xmldsigEXIDatatypesEncoder.h | 4 ++-- 8 files changed, 21 insertions(+), 10 deletions(-) diff --git a/src/din/dinEXIDatatypesDecoder.h b/src/din/dinEXIDatatypesDecoder.h index b54d83f..0ca96f1 100644 --- a/src/din/dinEXIDatatypesDecoder.h +++ b/src/din/dinEXIDatatypesDecoder.h @@ -41,13 +41,15 @@ #ifdef __cplusplus extern "C" { #endif + + +#include "dinEXIDatatypes.h" #if DEPLOY_DIN_CODEC == SUPPORT_YES #include #include "EXITypes.h" -#include "dinEXIDatatypes.h" int decode_dinExiDocument(bitstream_t* stream, struct dinEXIDocument* exiDoc); diff --git a/src/din/dinEXIDatatypesEncoder.h b/src/din/dinEXIDatatypesEncoder.h index ab6f43e..12a6246 100644 --- a/src/din/dinEXIDatatypesEncoder.h +++ b/src/din/dinEXIDatatypesEncoder.h @@ -41,13 +41,14 @@ #ifdef __cplusplus extern "C" { #endif + +#include "dinEXIDatatypes.h" #if DEPLOY_DIN_CODEC == SUPPORT_YES #include #include "EXITypes.h" -#include "dinEXIDatatypes.h" int encode_dinExiDocument(bitstream_t* stream, struct dinEXIDocument* exiDoc); diff --git a/src/iso1/iso1EXIDatatypesDecoder.h b/src/iso1/iso1EXIDatatypesDecoder.h index 501dab1..007d84c 100644 --- a/src/iso1/iso1EXIDatatypesDecoder.h +++ b/src/iso1/iso1EXIDatatypesDecoder.h @@ -41,13 +41,15 @@ #ifdef __cplusplus extern "C" { #endif + + +#include "iso1EXIDatatypes.h" #if DEPLOY_ISO1_CODEC == SUPPORT_YES #include #include "EXITypes.h" -#include "iso1EXIDatatypes.h" int decode_iso1ExiDocument(bitstream_t* stream, struct iso1EXIDocument* exiDoc); diff --git a/src/iso1/iso1EXIDatatypesEncoder.h b/src/iso1/iso1EXIDatatypesEncoder.h index 39a8c79..3511e2a 100644 --- a/src/iso1/iso1EXIDatatypesEncoder.h +++ b/src/iso1/iso1EXIDatatypesEncoder.h @@ -41,14 +41,15 @@ #ifdef __cplusplus extern "C" { #endif + + +#include "iso1EXIDatatypes.h" #if DEPLOY_ISO1_CODEC == SUPPORT_YES #include #include "EXITypes.h" -#include "iso1EXIDatatypes.h" - int encode_iso1ExiDocument(bitstream_t* stream, struct iso1EXIDocument* exiDoc); diff --git a/src/iso2/iso2EXIDatatypesDecoder.h b/src/iso2/iso2EXIDatatypesDecoder.h index 2183cfa..1e0a154 100644 --- a/src/iso2/iso2EXIDatatypesDecoder.h +++ b/src/iso2/iso2EXIDatatypesDecoder.h @@ -41,13 +41,15 @@ #ifdef __cplusplus extern "C" { #endif + + +#include "iso2EXIDatatypes.h" #if DEPLOY_ISO2_CODEC == SUPPORT_YES #include #include "EXITypes.h" -#include "iso2EXIDatatypes.h" int decode_iso2ExiDocument(bitstream_t* stream, struct iso2EXIDocument* exiDoc); diff --git a/src/iso2/iso2EXIDatatypesEncoder.h b/src/iso2/iso2EXIDatatypesEncoder.h index a3b0c4d..f2cb4fa 100644 --- a/src/iso2/iso2EXIDatatypesEncoder.h +++ b/src/iso2/iso2EXIDatatypesEncoder.h @@ -41,13 +41,15 @@ #ifdef __cplusplus extern "C" { #endif + + +#include "iso2EXIDatatypes.h" #if DEPLOY_ISO2_CODEC == SUPPORT_YES #include #include "EXITypes.h" -#include "iso2EXIDatatypes.h" int encode_iso2ExiDocument(bitstream_t* stream, struct iso2EXIDocument* exiDoc); diff --git a/src/xmldsig/xmldsigEXIDatatypesDecoder.h b/src/xmldsig/xmldsigEXIDatatypesDecoder.h index 04b0440..b717062 100644 --- a/src/xmldsig/xmldsigEXIDatatypesDecoder.h +++ b/src/xmldsig/xmldsigEXIDatatypesDecoder.h @@ -41,13 +41,14 @@ #ifdef __cplusplus extern "C" { #endif + +#include "xmldsigEXIDatatypes.h" #if DEPLOY_XMLDSIG_CODEC == SUPPORT_YES #include #include "EXITypes.h" -#include "xmldsigEXIDatatypes.h" int decode_xmldsigExiDocument(bitstream_t* stream, struct xmldsigEXIDocument* exiDoc); diff --git a/src/xmldsig/xmldsigEXIDatatypesEncoder.h b/src/xmldsig/xmldsigEXIDatatypesEncoder.h index 62a2c63..d9e303d 100644 --- a/src/xmldsig/xmldsigEXIDatatypesEncoder.h +++ b/src/xmldsig/xmldsigEXIDatatypesEncoder.h @@ -41,14 +41,14 @@ #ifdef __cplusplus extern "C" { #endif + +#include "xmldsigEXIDatatypes.h" #if DEPLOY_XMLDSIG_CODEC == SUPPORT_YES #include #include "EXITypes.h" -#include "xmldsigEXIDatatypes.h" - int encode_xmldsigExiDocument(bitstream_t* stream, struct xmldsigEXIDocument* exiDoc);