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
This commit is contained in:
Alexis La Goutte 2013-08-10 21:31:59 +00:00
parent 178bc22120
commit 4398ffa647
1 changed files with 3 additions and 3 deletions

View File

@ -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__ */