Re: git: 3334a537ed38 - main - Convert fsidcmp(9) from macro to inline function
- In reply to: Konstantin Belousov : "git: 3334a537ed38 - main - Convert fsidcmp(9) from macro to inline function"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Jan 2024 20:58:41 UTC
On Wed, Dec 27, 2023 at 10:04 AM Konstantin Belousov <kib@freebsd.org> wrote: > > The branch main has been updated by kib: > > URL: https://cgit.FreeBSD.org/src/commit/?id=3334a537ed385e487a47208dab8f36b25643bcdb > > commit 3334a537ed385e487a47208dab8f36b25643bcdb > Author: Konstantin Belousov <kib@FreeBSD.org> > AuthorDate: 2023-12-26 19:39:33 +0000 > Commit: Konstantin Belousov <kib@FreeBSD.org> > CommitDate: 2023-12-27 09:50:16 +0000 > > Convert fsidcmp(9) from macro to inline function > > This allows type checking the arguments. > > Explicit structure members comparisions are done to avoid introducting > string.h pollution for userspace. > > Reviewed by: markj > Sponsored by: The FreeBSD Foundation > MFC after: 1 week > Differential revision: https://reviews.freebsd.org/D43205 Hello, I think this should be spelled __inline ( net-mgmt/resource-agents fails with /usr/include/sys/mount.h:54:8: error: unknown type name 'inline' ) Antoine