From d481ddcc4597bb64db0050617935366017aca8e9 Mon Sep 17 00:00:00 2001 From: tnn Date: Sun, 6 Feb 2022 19:29:52 +0000 Subject: [PATCH] move attribute before function declarator --- sys/kern/subr_autoconf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/kern/subr_autoconf.c b/sys/kern/subr_autoconf.c index e61acb6ba59b..6cc0db4c723a 100644 --- a/sys/kern/subr_autoconf.c +++ b/sys/kern/subr_autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: subr_autoconf.c,v 1.294 2022/02/06 11:56:00 martin Exp $ */ +/* $NetBSD: subr_autoconf.c,v 1.295 2022/02/06 19:29:52 tnn Exp $ */ /* * Copyright (c) 1996, 2000 Christopher G. Demetriou @@ -77,7 +77,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.294 2022/02/06 11:56:00 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.295 2022/02/06 19:29:52 tnn Exp $"); #ifdef _KERNEL_OPT #include "opt_ddb.h" @@ -838,8 +838,8 @@ cfdriver_get_iattr(const struct cfdriver *cd, const char *ia) return 0; } -static int -cfdriver_iattr_count(const struct cfdriver *cd) __diagused +static int __diagused +cfdriver_iattr_count(const struct cfdriver *cd) { const struct cfiattrdata * const *cpp; int i;