Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern fix the sysctl_setup_func typedef



details:   https://anonhg.NetBSD.org/src/rev/8bf2cac189aa
branches:  trunk
changeset: 784504:8bf2cac189aa
user:      para <para%NetBSD.org@localhost>
date:      Tue Jan 29 23:00:31 2013 +0000

description:
fix the sysctl_setup_func typedef

diffstat:

 sys/kern/kern_sysctl.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9b999127ecf6 -r 8bf2cac189aa sys/kern/kern_sysctl.c
--- a/sys/kern/kern_sysctl.c    Tue Jan 29 22:02:17 2013 +0000
+++ b/sys/kern/kern_sysctl.c    Tue Jan 29 23:00:31 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_sysctl.c,v 1.237 2013/01/29 19:56:43 christos Exp $       */
+/*     $NetBSD: kern_sysctl.c,v 1.238 2013/01/29 23:00:31 para Exp $   */
 
 /*-
  * Copyright (c) 2003, 2007, 2008 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_sysctl.c,v 1.237 2013/01/29 19:56:43 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_sysctl.c,v 1.238 2013/01/29 23:00:31 para Exp $");
 
 #include "opt_defcorename.h"
 #include "ksyms.h"
@@ -102,7 +102,7 @@
 static int sysctl_log_add(struct sysctllog **, const struct sysctlnode *);
 static int sysctl_log_realloc(struct sysctllog *);
 
-typedef void (*sysctl_setup_func)(struct sysctllog **);
+typedef void sysctl_setup_func(struct sysctllog **);
 
 struct sysctllog {
        const struct sysctlnode *log_root;



Home | Main Index | Thread Index | Old Index