Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Sep 2025 05:06:49 GMT
From:      Ahmad Khalifa <vexeduxr@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 54cc3da443da - main - moused: fix GCC build
Message-ID:  <202509090506.58956nuW018254@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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",
 	};



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509090506.58956nuW018254>