summaryrefslogtreecommitdiff
path: root/bsd-user
diff options
context:
space:
mode:
authorWarner Losh <imp@bsdimp.com>2022-06-20 15:14:37 -0600
committerWarner Losh <imp@bsdimp.com>2022-07-02 07:52:48 -0600
commit3f1b0235f68ff74ebfd98b17626e4254c4345fa8 (patch)
tree2dd1cd579792aa6e13e980d73e9a8a9a03f05d33 /bsd-user
parent952d5d30d6af8220334f508bf67852e1fc1c7ab5 (diff)
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));
}