From fc76d416bb4f37bf55bd088f4b9893f52e097990 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Mon, 14 Jun 2010 11:01:06 -0500 Subject: [PATCH] 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 Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- src/config/stds.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/stds.h b/src/config/stds.h index eb187b82d5..8fbd509c88 100644 --- a/src/config/stds.h +++ b/src/config/stds.h @@ -336,11 +336,11 @@ hdr_static_inline(unsigned long) afs_printable_uint32_lu(afs_uint32 d) { return #if defined(__GNUC__) && __GNUC__ > 2 #define AFS_UNUSED __attribute__((unused)) #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__) #define AFS_UNUSED __attribute__((unused)) #define AFS_ATTRIBUTE_FORMAT(style,x,y) __attribute__((format(style, x, y))) -#define AFS_NORETURN __attribute__((__noreturn__)); +#define AFS_NORETURN __attribute__((__noreturn__)) #else #define AFS_UNUSED #define AFS_ATTRIBUTE_FORMAT(style,x,y)