From 5f45d5b8ebee3a6b2fc0be5e2d6a6c1036d88408 Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Thu, 5 Dec 2013 13:57:36 -0500 Subject: [PATCH] Remove extra whitespace from macro invocations On MacOS X 10.9, the compiler has switched to LLVM and as a consequence generates an error if there is a space between a macro invocation and the starting left parenthesis. Based on code originally done by Matt Haught . Reviewed-on: http://gerrit.openafs.org/10540 Tested-by: BuildBot Reviewed-by: Derrick Brashear (cherry picked from commit ce96143d79ea006f7b1318dd1c962d4c4f79fc1e) Reviewed-on: http://gerrit.openafs.org/10543 Tested-by: BuildBot Reviewed-by: Benjamin Kaduk Reviewed-by: Andrew Deason Reviewed-by: Marc Dionne Reviewed-by: Stephan Wiesand (cherry picked from commit e54a0902fb4ed09d955a2cb9c3d091da28b8f21a) Change-Id: I1dc8a50bb28f5656bc05b261870b6e01684034a5 Reviewed-on: http://gerrit.openafs.org/10606 Reviewed-by: Stephan Wiesand Tested-by: Stephan Wiesand --- src/kauth/kauth.rg | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/kauth/kauth.rg b/src/kauth/kauth.rg index 704f1999e4..80e5b11098 100644 --- a/src/kauth/kauth.rg +++ b/src/kauth/kauth.rg @@ -138,23 +138,23 @@ struct kadstats { afs_int32 hashTableUtilization; /* utilization of non-empty hash table entries in parts per 10,000 */ /* count of requests and aborts for each RPC */ - declare_stat (Authenticate); - declare_stat (ChangePassword); - declare_stat (GetTicket); - declare_stat (CreateUser); - declare_stat (SetPassword); - declare_stat (SetFields); - declare_stat (DeleteUser); - declare_stat (GetEntry); - declare_stat (ListEntry); - declare_stat (GetStats); - declare_stat (GetPassword); - declare_stat (GetRandomKey); - declare_stat (Debug); - declare_stat (UAuthenticate); - declare_stat (UGetTicket); - declare_stat (Unlock); - declare_stat (LockStatus); + declare_stat(Authenticate); + declare_stat(ChangePassword); + declare_stat(GetTicket); + declare_stat(CreateUser); + declare_stat(SetPassword); + declare_stat(SetFields); + declare_stat(DeleteUser); + declare_stat(GetEntry); + declare_stat(ListEntry); + declare_stat(GetStats); + declare_stat(GetPassword); + declare_stat(GetRandomKey); + declare_stat(Debug); + declare_stat(UAuthenticate); + declare_stat(UGetTicket); + declare_stat(Unlock); + declare_stat(LockStatus); afs_int32 string_checks; /* errors detected in name.inst strs */ afs_int32 reserved1; afs_int32 reserved2;