[PATCH v2 11/11] bsd-user: Remove stray 'inline' from do_bsd_close

Warner Losh posted 11 patches 3 years, 7 months ago
Maintainers: Warner Losh <imp@bsdimp.com>, Kyle Evans <kevans@freebsd.org>
[PATCH v2 11/11] bsd-user: Remove stray 'inline' from do_bsd_close
Posted by Warner Losh 3 years, 7 months ago
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
Re: [PATCH v2 11/11] bsd-user: Remove stray 'inline' from do_bsd_close
Posted by Richard Henderson 3 years, 7 months ago
On 6/24/22 14:47, Warner Losh wrote:
> 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(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~