Date: Tue, 30 Jan 2024 22:31:09 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: f76cb7bd08e0 - main - sys/mount.h: use __inline Message-ID: <202401302231.40UMV96t036116@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=f76cb7bd08e02d868e640b3442b2bc45edf8f56a commit f76cb7bd08e02d868e640b3442b2bc45edf8f56a Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-01-30 22:14:25 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-01-30 22:30:48 +0000 sys/mount.h: use __inline instead of plain inline, for C89 Reported by: antoine Sponsored by: The FreeBSD Foundation MFC after: 3 days --- sys/sys/mount.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/mount.h b/sys/sys/mount.h index dd5eaad184f6..529263204bd6 100644 --- a/sys/sys/mount.h +++ b/sys/sys/mount.h @@ -51,7 +51,7 @@ typedef struct fsid { int32_t val[2]; } fsid_t; /* filesystem id type */ /* Returns non-zero if fsids are different. */ -static inline int +static __inline int fsidcmp(const fsid_t *a, const fsid_t *b) { return (a->val[0] != b->val[0] || a->val[1] != b->val[1]);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401302231.40UMV96t036116>