summaryrefslogtreecommitdiffstats
path: root/bsd-user
diff options
context:
space:
mode:
authorWarner Losh2022-06-20 23:14:37 +0200
committerWarner Losh2022-07-02 15:52:48 +0200
commit3f1b0235f68ff74ebfd98b17626e4254c4345fa8 (patch)
tree2dd1cd579792aa6e13e980d73e9a8a9a03f05d33 /bsd-user
parentbsd-user: Implement undelete (diff)
downloadqemu-3f1b0235f68ff74ebfd98b17626e4254c4345fa8.tar.gz
qemu-3f1b0235f68ff74ebfd98b17626e4254c4345fa8.tar.xz
qemu-3f1b0235f68ff74ebfd98b17626e4254c4345fa8.zip
bsd-user: Remove stray 'inline' from do_bsd_close
In the last series, I inadvertantly didn't remove this inline, but did all the others. Remove it for consistency. Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'bsd-user')
-rw-r--r--bsd-user/bsd-file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-user/bsd-file.h b/bsd-user/bsd-file.h
index 108a506185..588e0c50d4 100644
--- a/bsd-user/bsd-file.h
+++ b/bsd-user/bsd-file.h
@@ -252,7 +252,7 @@ static abi_long do_bsd_openat(abi_long arg1, abi_long arg2,
}
/* close(2) */
-static inline abi_long do_bsd_close(abi_long arg1)
+static abi_long do_bsd_close(abi_long arg1)
{
return get_errno(close(arg1));
}