git: f76cb7bd08e0 - main - sys/mount.h: use __inline
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Jan 2024 22:31:09 UTC
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]);