diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-08-10 21:31:59 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-08-10 21:31:59 +0000 |
commit | 4398ffa6478334428984efba1d957becb26d2a5f (patch) | |
tree | 336b03361170cfa615aef5bc295ae582c9de6bbd | |
parent | 178bc2212038a30507f452cf96e1d200c6007fe3 (diff) |
Fix (-W)header-guard error found by clang 3.4
./packet-osi-options.h:26:9: error: '_PACKET_OSI_OPTION_H' is used as a header
guard here, followed by #define of a different macro
[-Werror,-Wheader-guard]
#ifndef _PACKET_OSI_OPTION_H
^~~~~~~~~~~~~~~~~~~~
./packet-osi-options.h:27:9: note: '_PACKET_OSI_OPTIONS_H' is defined here; did
you mean '_PACKET_OSI_OPTION_H'?
#define _PACKET_OSI_OPTIONS_H
^~~~~~~~~~~~~~~~~~~~~
_PACKET_OSI_OPTION_H
svn path=/trunk/; revision=51282
-rw-r--r-- | epan/dissectors/packet-osi-options.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-osi-options.h b/epan/dissectors/packet-osi-options.h index ec94cca774..0d6b660ad3 100644 --- a/epan/dissectors/packet-osi-options.h +++ b/epan/dissectors/packet-osi-options.h @@ -23,8 +23,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef _PACKET_OSI_OPTION_H -#define _PACKET_OSI_OPTIONS_H +#ifndef _PACKET_OSI_OPTIONS_H__ +#define _PACKET_OSI_OPTIONS_H__ /* * published API functions @@ -33,4 +33,4 @@ extern void dissect_osi_options( guchar, tvbuff_t *, int, proto_tree *); extern void proto_register_osi_options(void); -#endif /* _PACKET_OSI_OPTIONS_H */ +#endif /* _PACKET_OSI_OPTIONS_H__ */ |