[Bug 271903] amd64-gcc12 build failure

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 08 Jun 2023 16:31:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271903

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=f40cd16bfda4f4512033bb9e7212ee5d8b94b9a7

commit f40cd16bfda4f4512033bb9e7212ee5d8b94b9a7
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-06-08 13:58:26 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-06-08 16:28:04 +0000

    kern: Move devctl_systems[] out of sys/sys/devctl.h

    The amd64-gcc12 build was failing with `error: 'devctl_systems' defined
    but not used`.  Just move it to the C file where it's used.

    PR:             271903
    Sponsored by:   The FreeBSD Foundation

 sys/netlink/netlink_sysevent.c | 23 +++++++++++++++++++++++
 sys/sys/devctl.h               | 23 -----------------------
 2 files changed, 23 insertions(+), 23 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.