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:
parent
857f89a681
commit
d5fed8b085
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue