Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Move forward declaration to top of file.
details: https://anonhg.NetBSD.org/src/rev/ebd3c9a03ca2
branches: trunk
changeset: 354341:ebd3c9a03ca2
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Jun 12 21:07:14 2017 +0000
description:
Move forward declaration to top of file.
Keep header comment above localcount_init adjoined to it.
No functional change.
diffstat:
sys/kern/subr_localcount.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r c1c05f0a926a -r ebd3c9a03ca2 sys/kern/subr_localcount.c
--- a/sys/kern/subr_localcount.c Mon Jun 12 15:02:32 2017 +0000
+++ b/sys/kern/subr_localcount.c Mon Jun 12 21:07:14 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_localcount.c,v 1.4 2017/06/02 00:32:12 chs Exp $ */
+/* $NetBSD: subr_localcount.c,v 1.5 2017/06/12 21:07:14 riastradh Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -44,7 +44,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_localcount.c,v 1.4 2017/06/02 00:32:12 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_localcount.c,v 1.5 2017/06/12 21:07:14 riastradh Exp $");
#include <sys/param.h>
#include <sys/localcount.h>
@@ -55,6 +55,8 @@
#include <sys/percpu.h>
#include <sys/xcall.h>
+static void localcount_xc(void *, void *);
+
/*
* localcount_init(lc)
*
@@ -64,8 +66,6 @@
* The caller must call localcount_drain and then localcount_fini
* when done with lc.
*/
-static void localcount_xc(void *, void *);
-
void
localcount_init(struct localcount *lc)
{
Home |
Main Index |
Thread Index |
Old Index