mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
Remove semicolon from AFS_NORETURN
AFS_NORETURN had a trailing semicolon, which will confuse potential future additional attribute markers, if used after AFS_NORETURN. Remove it. Change-Id: I21fd6b874728b8ca74d0e8abd783cd5015f63e97 Reviewed-on: http://gerrit.openafs.org/2258 Tested-by: Andrew Deason <adeason@sinenomine.net> Reviewed-by: Jeffrey Altman <jaltman@openafs.org> Tested-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
parent
19531fb400
commit
fc76d416bb
@ -336,11 +336,11 @@ hdr_static_inline(unsigned long) afs_printable_uint32_lu(afs_uint32 d) { return
|
|||||||
#if defined(__GNUC__) && __GNUC__ > 2
|
#if defined(__GNUC__) && __GNUC__ > 2
|
||||||
#define AFS_UNUSED __attribute__((unused))
|
#define AFS_UNUSED __attribute__((unused))
|
||||||
#define AFS_ATTRIBUTE_FORMAT(style,x,y) __attribute__((format(style, x, y)))
|
#define AFS_ATTRIBUTE_FORMAT(style,x,y) __attribute__((format(style, x, y)))
|
||||||
#define AFS_NORETURN __attribute__((__noreturn__));
|
#define AFS_NORETURN __attribute__((__noreturn__))
|
||||||
#elif defined (__clang__)
|
#elif defined (__clang__)
|
||||||
#define AFS_UNUSED __attribute__((unused))
|
#define AFS_UNUSED __attribute__((unused))
|
||||||
#define AFS_ATTRIBUTE_FORMAT(style,x,y) __attribute__((format(style, x, y)))
|
#define AFS_ATTRIBUTE_FORMAT(style,x,y) __attribute__((format(style, x, y)))
|
||||||
#define AFS_NORETURN __attribute__((__noreturn__));
|
#define AFS_NORETURN __attribute__((__noreturn__))
|
||||||
#else
|
#else
|
||||||
#define AFS_UNUSED
|
#define AFS_UNUSED
|
||||||
#define AFS_ATTRIBUTE_FORMAT(style,x,y)
|
#define AFS_ATTRIBUTE_FORMAT(style,x,y)
|
||||||
|
Loading…
Reference in New Issue
Block a user