Remove semicolon from AFS_NORETURN
authorAndrew Deason <adeason@sinenomine.net>
Mon, 14 Jun 2010 16:01:06 +0000 (11:01 -0500)
committerJeffrey Altman <jaltman@openafs.org>
Sat, 26 Jun 2010 15:52:56 +0000 (08:52 -0700)
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>

src/config/stds.h

index eb187b8..8fbd509 100644 (file)
@@ -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)