]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
compat: use prefixed typeof to support stricter environments 6216/head
authorJohn Coyle <dx9err@gmail.com>
Fri, 9 Oct 2015 19:14:21 +0000 (15:14 -0400)
committerJohn Coyle <dx9err@gmail.com>
Sun, 18 Oct 2015 19:27:15 +0000 (15:27 -0400)
Signed-off-by: John Coyle <dx9err@gmail.com>
src/include/compat.h

index 885b9c1a489902f9d9aff9060ad23da829179cfd..a533b3a71272aeb8e94c9615b332f4ae0e4c6309 100644 (file)
@@ -34,7 +34,7 @@
 
 #ifndef TEMP_FAILURE_RETRY
 #define TEMP_FAILURE_RETRY(expression) ({     \
-  typeof(expression) __result;                \
+  __typeof(expression) __result;              \
   do {                                        \
     __result = (expression);                  \
   } while (__result == -1 && errno == EINTR); \