Skip to content

Commit

Permalink
bsd-user: style tweak: keyword space (
Browse files Browse the repository at this point in the history
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
  • Loading branch information
bsdimp committed Apr 30, 2021
1 parent ca0fd2e commit cefbade
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bsd-user/qemu.h
Expand Up @@ -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;\
Expand All @@ -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;\
Expand Down

0 comments on commit cefbade

Please sign in to comment.