Fix (-W)header-guard error found by clang 3.4

./packet-idp.h:25:9: error: '__PACKET_IDP_H__' is used as a header guard here,
      followed by #define of a different macro [-Werror,-Wheader-guard]
#ifndef __PACKET_IDP_H__
        ^~~~~~~~~~~~~~~~
./packet-idp.h:26:9: note: '__PACKET_IPX_H__' is defined here; did you mean
      '__PACKET_IDP_H__'?
#define __PACKET_IPX_H__
        ^~~~~~~~~~~~~~~~
        __PACKET_IDP_H__

svn path=/trunk/; revision=51284
This commit is contained in:
Alexis La Goutte 2013-08-10 21:32:16 +00:00
parent 857f89a681
commit d5fed8b085
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
*/
#ifndef __PACKET_IDP_H__
#define __PACKET_IPX_H__
#define __PACKET_IDP_H__
#define IDP_PACKET_TYPE_RIP 1
#define IDP_PACKET_TYPE_ECHO 2