Module Name: src
Committed By: riastradh
Date: Mon Jun 12 21:07:14 UTC 2017
Modified Files:
src/sys/kern: subr_localcount.c
Log Message:
Move forward declaration to top of file.
Keep header comment above localcount_init adjoined to it.
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/kern/subr_localcount.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/kern/subr_localcount.c
diff -u src/sys/kern/subr_localcount.c:1.4 src/sys/kern/subr_localcount.c:1.5
--- src/sys/kern/subr_localcount.c:1.4 Fri Jun 2 00:32:12 2017
+++ src/sys/kern/subr_localcount.c Mon Jun 12 21:07:14 2017
@@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: subr_localco
#include <sys/percpu.h>
#include <sys/xcall.h>
+static void localcount_xc(void *, void *);
+
/*
* localcount_init(lc)
*
@@ -64,8 +66,6 @@ __KERNEL_RCSID(0, "$NetBSD: subr_localco
* 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)
{