git: a12857f5a80c - stable/15 - moused: fix GCC build

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Wed, 22 Oct 2025 17:14:02 UTC
The branch stable/15 has been updated by markj:

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

commit a12857f5a80c634b31a2599e4c127c0ee3b01ff7
Author:     Ahmad Khalifa <vexeduxr@FreeBSD.org>
AuthorDate: 2025-09-09 03:54:24 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-10-22 17:05:30 +0000

    moused: fix GCC build
    
    error: 'static' is not at beginning of declaration [-Werror=old-style-declaration]
    
    (cherry picked from commit 54cc3da443da7e4a8a483d1fe46071382ff06ed0)
---
 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 fa3bfbbf2b3e..36cb8cc27eab 100644
--- a/usr.sbin/moused/moused/moused.c
+++ b/usr.sbin/moused/moused/moused.c
@@ -1168,7 +1168,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",
 	};