Remove extra whitespace from macro invocations
authorKen Hornstein <kenh@cmf.nrl.navy.mil>
Thu, 5 Dec 2013 18:57:36 +0000 (13:57 -0500)
committerDerrick Brashear <shadow@your-file-system.com>
Fri, 6 Dec 2013 04:50:15 +0000 (20:50 -0800)
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 <dmhaught@ncsu.edu>.

Change-Id: I28848f5294d0575d8abb1759c202cc3c2db85ac2
Reviewed-on: http://gerrit.openafs.org/10540
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>

src/kauth/kauth.rg

index 704f199..80e5b11 100644 (file)
@@ -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;