-Wheader-guard

看板FB_current作者時間12年前 (2013/06/17 17:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/3 (看更多)
/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" _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1Hlj1FBJ (FB_current)
文章代碼(AID): #1Hlj1FBJ (FB_current)