[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 11/11] bsd-user: Remove stray 'inline' from do_bsd_close
From: |
Warner Losh |
Subject: |
[PATCH v2 11/11] bsd-user: Remove stray 'inline' from do_bsd_close |
Date: |
Fri, 24 Jun 2022 15:47:42 -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>
---
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
- [PATCH v2 02/11] bsd-user: Implement symlink, symlinkat, readlink and readlinkat, (continued)
- [PATCH v2 02/11] bsd-user: Implement symlink, symlinkat, readlink and readlinkat, Warner Losh, 2022/06/24
- [PATCH v2 04/11] bsd-user: Implement freebsd11_mknod, freebsd11_mknodat and mknodat, Warner Losh, 2022/06/24
- [PATCH v2 07/11] bsd-user: Implement chroot and flock, Warner Losh, 2022/06/24
- [PATCH v2 10/11] bsd-user: Implement undelete, Warner Losh, 2022/06/24
- [PATCH v2 08/11] bsd-user: Implement mkfifo and mkfifoat, Warner Losh, 2022/06/24
- [PATCH v2 09/11] bsd-user: Implement pathconf, lpathconf and fpathconf, Warner Losh, 2022/06/24
- [PATCH v2 05/11] bsd-user: Implement chown, fchown, lchown and fchownat, Warner Losh, 2022/06/24
- [PATCH v2 06/11] bsd-user: Implement chflags, lchflags and fchflags, Warner Losh, 2022/06/24
- [PATCH v2 11/11] bsd-user: Remove stray 'inline' from do_bsd_close,
Warner Losh <=