[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 11/11] bsd-user: Remove stray 'inline' from do_bsd_close
From: |
Warner Losh |
Subject: |
[PULL 11/11] bsd-user: Remove stray 'inline' from do_bsd_close |
Date: |
Sat, 2 Jul 2022 07:57:06 -0600 |
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>
---
bsd-user/bsd-file.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bsd-user/bsd-file.h b/bsd-user/bsd-file.h
index 108a5061850..588e0c50d45 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));
}
--
2.33.1
- [PULL 00/11] Bsd user syscall 2022q2b patches, Warner Losh, 2022/07/02
- [PULL 01/11] bsd-user: Implement mount, umount and nmount, Warner Losh, 2022/07/02
- [PULL 03/11] bsd-user: implement chmod, fchmod, lchmod and fchmodat, Warner Losh, 2022/07/02
- [PULL 02/11] bsd-user: Implement symlink, symlinkat, readlink and readlinkat, Warner Losh, 2022/07/02
- [PULL 04/11] bsd-user: Implement freebsd11_mknod, freebsd11_mknodat and mknodat, Warner Losh, 2022/07/02
- [PULL 05/11] bsd-user: Implement chown, fchown, lchown and fchownat, Warner Losh, 2022/07/02
- [PULL 06/11] bsd-user: Implement chflags, lchflags and fchflags, Warner Losh, 2022/07/02
- [PULL 07/11] bsd-user: Implement chroot and flock, Warner Losh, 2022/07/02
- [PULL 09/11] bsd-user: Implement pathconf, lpathconf and fpathconf, Warner Losh, 2022/07/02
- [PULL 08/11] bsd-user: Implement mkfifo and mkfifoat, Warner Losh, 2022/07/02
- [PULL 11/11] bsd-user: Remove stray 'inline' from do_bsd_close,
Warner Losh <=
- [PULL 10/11] bsd-user: Implement undelete, Warner Losh, 2022/07/02
- Re: [PULL 00/11] Bsd user syscall 2022q2b patches, Richard Henderson, 2022/07/02