git: f8ef84daf534 - main - devinfo: Add missing 'static'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 May 2025 22:02:09 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=f8ef84daf534b8683e04ee5f5a621bde8f2e3912 commit f8ef84daf534b8683e04ee5f5a621bde8f2e3912 Author: ktullavik <ktullavik@gmail.com> AuthorDate: 2024-10-17 21:26:15 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2025-05-06 22:01:45 +0000 devinfo: Add missing 'static' Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1480 --- usr.sbin/devinfo/devinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/devinfo/devinfo.c b/usr.sbin/devinfo/devinfo.c index e8dd74b71144..fe383edf04b3 100644 --- a/usr.sbin/devinfo/devinfo.c +++ b/usr.sbin/devinfo/devinfo.c @@ -150,7 +150,7 @@ print_dev(struct devinfo_dev *dev) /* * Print information about a device. */ -int +static int print_device(struct devinfo_dev *dev, void *arg) { struct indent_arg ia;