Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Rename sc_auto to sc_autoload at suggestion of christos@
details: https://anonhg.NetBSD.org/src/rev/0a43dfe9fe74
branches: trunk
changeset: 341949:0a43dfe9fe74
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Mon Nov 30 23:17:40 2015 +0000
description:
Rename sc_auto to sc_autoload at suggestion of christos@
diffstat:
sys/kern/kern_syscall.c | 8 ++++----
sys/kern/makesyscalls.sh | 4 ++--
sys/sys/proc.h | 4 ++--
3 files changed, 8 insertions(+), 8 deletions(-)
diffs (65 lines):
diff -r a0e11d9d15db -r 0a43dfe9fe74 sys/kern/kern_syscall.c
--- a/sys/kern/kern_syscall.c Mon Nov 30 23:15:43 2015 +0000
+++ b/sys/kern/kern_syscall.c Mon Nov 30 23:17:40 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_syscall.c,v 1.12 2015/11/30 22:47:19 pgoyette Exp $ */
+/* $NetBSD: kern_syscall.c,v 1.13 2015/11/30 23:17:40 pgoyette Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_syscall.c,v 1.12 2015/11/30 22:47:19 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_syscall.c,v 1.13 2015/11/30 23:17:40 pgoyette Exp $");
#ifdef _KERNEL_OPT
#include "opt_modular.h"
@@ -63,8 +63,8 @@
const struct sysent *sy;
const struct emul *em;
- const struct sc_auto *auto_list;
- int code;
+ const struct sc_autoload *auto_list;
+ u_int code;
/*
* Restart the syscall if we interrupted a module unload that
diff -r a0e11d9d15db -r 0a43dfe9fe74 sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh Mon Nov 30 23:15:43 2015 +0000
+++ b/sys/kern/makesyscalls.sh Mon Nov 30 23:17:40 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: makesyscalls.sh,v 1.156 2015/11/30 23:00:14 pgoyette Exp $
+# $NetBSD: makesyscalls.sh,v 1.157 2015/11/30 23:17:40 pgoyette Exp $
#
# Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
# All rights reserved.
@@ -258,7 +258,7 @@
printf " * created from%s\n */\n\n", $0 > sysautoload
printf "#include <sys/cdefs.h>\n__KERNEL_RCSID(0, \"%s\");\n\n", tag > sysautoload
printf("#include <sys/proc.h>\n") > sysautoload
- printf("static struct sc_auto " autoloadprefix \
+ printf("static struct sc_autoload " autoloadprefix \
"_syscalls_autoload[] = {\n") > sysautoload
printf " * created from%s\n */\n\n", $0 > rumpcalls
diff -r a0e11d9d15db -r 0a43dfe9fe74 sys/sys/proc.h
--- a/sys/sys/proc.h Mon Nov 30 23:15:43 2015 +0000
+++ b/sys/sys/proc.h Mon Nov 30 23:17:40 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: proc.h,v 1.325 2015/11/30 22:47:19 pgoyette Exp $ */
+/* $NetBSD: proc.h,v 1.326 2015/11/30 23:17:40 pgoyette Exp $ */
/*-
* Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -126,7 +126,7 @@
/*
* Autoloadable syscall definition
*/
-struct sc_auto {
+struct sc_autoload {
u_int al_code;
const char *al_module;
};
Home |
Main Index |
Thread Index |
Old Index