git: 54cc3da443da - main - moused: fix GCC build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Sep 2025 05:06:49 UTC
The branch main has been updated by vexeduxr: URL: https://cgit.FreeBSD.org/src/commit/?id=54cc3da443da7e4a8a483d1fe46071382ff06ed0 commit 54cc3da443da7e4a8a483d1fe46071382ff06ed0 Author: Ahmad Khalifa <vexeduxr@FreeBSD.org> AuthorDate: 2025-09-09 03:54:24 +0000 Commit: Ahmad Khalifa <vexeduxr@FreeBSD.org> CommitDate: 2025-09-09 03:54:24 +0000 moused: fix GCC build error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] --- usr.sbin/moused/moused/moused.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/moused/moused/moused.c b/usr.sbin/moused/moused/moused.c index 33bcf359a1a0..acd6e5223685 100644 --- a/usr.sbin/moused/moused/moused.c +++ b/usr.sbin/moused/moused/moused.c @@ -1155,7 +1155,7 @@ pause_mouse(__unused int sig) static int connect_devd(void) { - const static struct sockaddr_un sa = { + static const struct sockaddr_un sa = { .sun_family = AF_UNIX, .sun_path = "/var/run/devd.seqpacket.pipe", };