bsd-user: style tweak: keyword space (
authorWarner Losh <imp@bsdimp.com>
Fri, 23 Apr 2021 15:05:57 +0000 (09:05 -0600)
committerWarner Losh <imp@bsdimp.com>
Fri, 30 Apr 2021 15:10:13 +0000 (09:10 -0600)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
bsd-user/qemu.h

index d2bcaab7413bb5c325a6a43611f5d3dde19dc73c..b836b603afdc22e4277699b95536b9de3dde51ef 100644 (file)
@@ -233,7 +233,7 @@ static inline bool access_ok(int type, abi_ulong addr, abi_ulong size)
 #define __put_user(x, hptr)\
 ({\
     int size = sizeof(*hptr);\
-    switch(size) {\
+    switch (size) {\
     case 1:\
         *(uint8_t *)(hptr) = (uint8_t)(typeof(*hptr))(x);\
         break;\
@@ -255,7 +255,7 @@ static inline bool access_ok(int type, abi_ulong addr, abi_ulong size)
 #define __get_user(x, hptr) \
 ({\
     int size = sizeof(*hptr);\
-    switch(size) {\
+    switch (size) {\
     case 1:\
         x = (typeof(*hptr))*(uint8_t *)(hptr);\
         break;\