git: dcdfffd83465 - main - devinfo: Add missing function declarations
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 May 2025 22:02:20 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=dcdfffd834656e0ac01c3dd64a32e4ee40f248d5 commit dcdfffd834656e0ac01c3dd64a32e4ee40f248d5 Author: ktullavik <ktullavik@gmail.com> AuthorDate: 2024-10-17 19:11:17 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2025-05-06 22:01:46 +0000 devinfo: Add missing function declarations No functional change intended. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1480 --- usr.sbin/devinfo/devinfo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/usr.sbin/devinfo/devinfo.c b/usr.sbin/devinfo/devinfo.c index 04809323ec70..f7ddf44aba96 100644 --- a/usr.sbin/devinfo/devinfo.c +++ b/usr.sbin/devinfo/devinfo.c @@ -45,14 +45,17 @@ static bool rflag; static bool vflag; +static void print_indent(int); static void print_resource(struct devinfo_res *); static int print_device_matching_resource(struct devinfo_res *, void *); static int print_device_rman_resources(struct devinfo_rman *, void *); +static void print_dev(struct devinfo_dev *); static int print_device(struct devinfo_dev *, void *); static int print_rman_resource(struct devinfo_res *, void *); static int print_rman(struct devinfo_rman *, void *); static int print_device_path(struct devinfo_dev *, void *); static void print_path(struct devinfo_dev *, char *); +static void usage(void); struct indent_arg {