From ee3afb3a36a707460f6c6bf3cd0b343e3e28a296 Mon Sep 17 00:00:00 2001 From: Kim van der Riet Date: Tue, 16 Jan 2007 13:09:50 +0000 Subject: Fixed QPID-296 Header guards may not be compliant with C++ standard git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@496678 13f79535-47bb-0310-9956-ffa450edef68 --- gentools/templ.cpp/AMQP_ClientOperations.h.tmpl | 6 +++--- gentools/templ.cpp/AMQP_ClientProxy.h.tmpl | 4 ++-- gentools/templ.cpp/AMQP_HighestVersion.h.tmpl | 4 ++-- gentools/templ.cpp/AMQP_MethodVersionMap.h.tmpl | 4 ++-- gentools/templ.cpp/AMQP_ServerOperations.h.tmpl | 4 ++-- gentools/templ.cpp/AMQP_ServerProxy.h.tmpl | 4 ++-- gentools/templ.cpp/MethodBodyClass.h.tmpl | 6 +++--- 7 files changed, 16 insertions(+), 16 deletions(-) (limited to 'gentools/templ.cpp') diff --git a/gentools/templ.cpp/AMQP_ClientOperations.h.tmpl b/gentools/templ.cpp/AMQP_ClientOperations.h.tmpl index e7a9bb1933..a9fb0e0f69 100644 --- a/gentools/templ.cpp/AMQP_ClientOperations.h.tmpl +++ b/gentools/templ.cpp/AMQP_ClientOperations.h.tmpl @@ -26,10 +26,10 @@ %{VLIST} * ${major}-${minor} */ +#ifndef qpid_framing_AMQP_ClientOperations__ +#define qpid_framing_AMQP_ClientOperations__ + #include - -#ifndef _AMQP_ClientOperations_ -#define _AMQP_ClientOperations_ #include #include diff --git a/gentools/templ.cpp/AMQP_ClientProxy.h.tmpl b/gentools/templ.cpp/AMQP_ClientProxy.h.tmpl index b5b11b4dc9..0653ed7186 100644 --- a/gentools/templ.cpp/AMQP_ClientProxy.h.tmpl +++ b/gentools/templ.cpp/AMQP_ClientProxy.h.tmpl @@ -26,8 +26,8 @@ %{VLIST} * ${major}-${minor} */ -#ifndef _AMQP_ClientProxy_ -#define _AMQP_ClientProxy_ +#ifndef qpid_framing_AMQP_ClientProxy__ +#define qpid_framing_AMQP_ClientProxy__ #include #include diff --git a/gentools/templ.cpp/AMQP_HighestVersion.h.tmpl b/gentools/templ.cpp/AMQP_HighestVersion.h.tmpl index 96ee9416b0..9753b454ba 100644 --- a/gentools/templ.cpp/AMQP_HighestVersion.h.tmpl +++ b/gentools/templ.cpp/AMQP_HighestVersion.h.tmpl @@ -25,8 +25,8 @@ * Supported AMQP versions: %{VLIST} * ${major}-${minor} */ -#ifndef _AMQP_HighestVersion_ -#define _AMQP_HighestVersion_ +#ifndef qpid_framing_highestProtocolVersion__ +#define qpid_framing_highestProtocolVersion__ #include diff --git a/gentools/templ.cpp/AMQP_MethodVersionMap.h.tmpl b/gentools/templ.cpp/AMQP_MethodVersionMap.h.tmpl index 6db1ceae0c..c197871d4b 100644 --- a/gentools/templ.cpp/AMQP_MethodVersionMap.h.tmpl +++ b/gentools/templ.cpp/AMQP_MethodVersionMap.h.tmpl @@ -26,8 +26,8 @@ %{VLIST} * ${major}-${minor} */ -#ifndef _METHOD_VERSION_MAP_H_ -#define _METHOD_VERSION_MAP_H_ +#ifndef qpid_framing_AMQP_MethodVersionMap__ +#define qpid_framing_AMQP_MethodVersionMap__ #include #include diff --git a/gentools/templ.cpp/AMQP_ServerOperations.h.tmpl b/gentools/templ.cpp/AMQP_ServerOperations.h.tmpl index b55705b980..e87723667b 100644 --- a/gentools/templ.cpp/AMQP_ServerOperations.h.tmpl +++ b/gentools/templ.cpp/AMQP_ServerOperations.h.tmpl @@ -26,8 +26,8 @@ %{VLIST} * ${major}-${minor} */ -#ifndef _AMQP_ServerOperations_ -#define _AMQP_ServerOperations_ +#ifndef qpid_framing_AMQP_ServerOperations__ +#define qpid_framing_AMQP_ServerOperations__ #include diff --git a/gentools/templ.cpp/AMQP_ServerProxy.h.tmpl b/gentools/templ.cpp/AMQP_ServerProxy.h.tmpl index c0acf6222e..fab29f2c60 100644 --- a/gentools/templ.cpp/AMQP_ServerProxy.h.tmpl +++ b/gentools/templ.cpp/AMQP_ServerProxy.h.tmpl @@ -26,8 +26,8 @@ %{VLIST} * ${major}-${minor} */ -#ifndef _AMQP_ServerProxy_ -#define _AMQP_ServerProxy_ +#ifndef qpid_framing_AMQP_ServerProxy__ +#define qpid_framing_AMQP_ServerProxy__ #include #include diff --git a/gentools/templ.cpp/MethodBodyClass.h.tmpl b/gentools/templ.cpp/MethodBodyClass.h.tmpl index 1edd938d3d..5819a9cf9c 100644 --- a/gentools/templ.cpp/MethodBodyClass.h.tmpl +++ b/gentools/templ.cpp/MethodBodyClass.h.tmpl @@ -26,6 +26,9 @@ %{VLIST} * ${major}-${minor} */ +#ifndef qpid_framing_${CLASS}${METHOD}Body__ +#define qpid_framing_${CLASS}${METHOD}Body__ + #include #include @@ -34,9 +37,6 @@ #include #include -#ifndef _${CLASS}${METHOD}Body_ -#define _${CLASS}${METHOD}Body_ - namespace qpid { namespace framing -- cgit v1.2.1