Date: Mon, 17 Jun 2013 10:52:46 +0200 From: dt71@gmx.com To: freebsd-current@freebsd.org Subject: -Wheader-guard Message-ID: <51BECE5E.7020406@gmx.com>
next in thread | raw e-mail | index | archive | help
/usr/src/contrib/wpa/src/utils/base64.h:15:9: warning: 'BASE64_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef BASE64_H ^~~~~~~~ /usr/src/contrib/wpa/src/utils/base64.h:16:9: note: 'BASE64_h' is defined here; did you mean 'BASE64_H'? #define BASE64_h ^~~~~~~~ BASE64_H and so on. Patch: Index: contrib/wpa/src/utils/base64.h =================================================================== --- contrib/wpa/src/utils/base64.h (revision 251823) +++ contrib/wpa/src/utils/base64.h (working copy) @@ -13,7 +13,7 @@ */ #ifndef BASE64_H -#define BASE64_h +#define BASE64_H unsigned char * base64_encode(const unsigned char *src, size_t len, size_t *out_len); Index: sys/dev/puc/puc_bfe.h =================================================================== --- sys/dev/puc/puc_bfe.h (revision 251823) +++ sys/dev/puc/puc_bfe.h (working copy) @@ -27,7 +27,7 @@ */ #ifndef _DEV_PUC_BFE_H_ -#define _DEV_PUC_BFE_H +#define _DEV_PUC_BFE_H_ #define PUC_PCI_BARS 6 Index: sys/dev/puc/puc_cfg.h =================================================================== --- sys/dev/puc/puc_cfg.h (revision 251823) +++ sys/dev/puc/puc_cfg.h (working copy) @@ -27,7 +27,7 @@ */ #ifndef _DEV_PUC_CFG_H_ -#define _DEV_PUC_CFG_H +#define _DEV_PUC_CFG_H_ #define DEFAULT_RCLK 1843200 Index: sys/dev/vxge/vxge.h =================================================================== --- sys/dev/vxge/vxge.h (revision 251823) +++ sys/dev/vxge/vxge.h (working copy) @@ -31,7 +31,7 @@ /*$FreeBSD$*/ #ifndef _VXGE_H_ -#define __VXGE_H_ +#define _VXGE_H_ #include <dev/vxge/vxgehal/vxgehal.h> #include <dev/vxge/vxge-osdep.h> Index: usr.bin/csup/updater.h =================================================================== --- usr.bin/csup/updater.h (revision 251823) +++ usr.bin/csup/updater.h (working copy) @@ -26,7 +26,7 @@ * $FreeBSD$ */ #ifndef _UPDATER_H_ -#define _UPDATER_H +#define _UPDATER_H_ void *updater(void *); Index: usr.bin/sort/vsort.h =================================================================== --- usr.bin/sort/vsort.h (revision 251823) +++ usr.bin/sort/vsort.h (working copy) @@ -28,7 +28,7 @@ */ #if !defined(__VSORT_H__) -#define _VSORT_H__ +#define __VSORT_H__ #include "bwstring.h"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51BECE5E.7020406>