Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern move attribute before function declarator
details: https://anonhg.NetBSD.org/src/rev/0564a182cb20
branches: trunk
changeset: 359994:0564a182cb20
user: tnn <tnn%NetBSD.org@localhost>
date: Sun Feb 06 19:29:52 2022 +0000
description:
move attribute before function declarator
diffstat:
sys/kern/subr_autoconf.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 40aaca47ccdc -r 0564a182cb20 sys/kern/subr_autoconf.c
--- a/sys/kern/subr_autoconf.c Sun Feb 06 16:23:12 2022 +0000
+++ b/sys/kern/subr_autoconf.c Sun Feb 06 19:29:52 2022 +0000
@@ -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 <sys/cdefs.h>
-__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 @@
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;
Home |
Main Index |
Thread Index |
Old Index