]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Remove extra whitespace from macro invocations
authorKen Hornstein <kenh@cmf.nrl.navy.mil>
Thu, 5 Dec 2013 18:57:36 +0000 (13:57 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 18 Dec 2013 15:27:15 +0000 (07:27 -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>.

Reviewed-on: http://gerrit.openafs.org/10540
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
(cherry picked from commit ce96143d79ea006f7b1318dd1c962d4c4f79fc1e)

Change-Id: I0e1c2a27ea2dc85205e9fa267a804438aad77bfe
Reviewed-on: http://gerrit.openafs.org/10543
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/kauth/kauth.rg

index 704f1999e4e797a786ede42ce37982d729e1ce24..80e5b110985417e11c5138285a0966700b923edd 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;