Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump unsprinkle const to fix clang build. mmm, travis ci
details: https://anonhg.NetBSD.org/src/rev/c160eb4652ba
branches: trunk
changeset: 328994:c160eb4652ba
user: pooka <pooka%NetBSD.org@localhost>
date: Sun Apr 27 16:28:21 2014 +0000
description:
unsprinkle const to fix clang build. mmm, travis ci
diffstat:
sys/rump/librump/rumpkern/rump_private.h | 4 ++--
sys/rump/makerumpsyscalls.sh | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (53 lines):
diff -r 11c4527c9a08 -r c160eb4652ba sys/rump/librump/rumpkern/rump_private.h
--- a/sys/rump/librump/rumpkern/rump_private.h Sun Apr 27 16:22:13 2014 +0000
+++ b/sys/rump/librump/rumpkern/rump_private.h Sun Apr 27 16:28:21 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_private.h,v 1.84 2014/04/27 15:08:52 pooka Exp $ */
+/* $NetBSD: rump_private.h,v 1.85 2014/04/27 16:28:21 pooka Exp $ */
/*
* Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved.
@@ -150,7 +150,7 @@
struct rump_onesyscall {
int ros_num;
- const sy_call_t *ros_handler;
+ sy_call_t *ros_handler;
};
void rump_syscall_boot_establish(const struct rump_onesyscall *, size_t);
diff -r 11c4527c9a08 -r c160eb4652ba sys/rump/makerumpsyscalls.sh
--- a/sys/rump/makerumpsyscalls.sh Sun Apr 27 16:22:13 2014 +0000
+++ b/sys/rump/makerumpsyscalls.sh Sun Apr 27 16:28:21 2014 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: makerumpsyscalls.sh,v 1.1 2014/04/27 15:05:30 pooka Exp $
+# $NetBSD: makerumpsyscalls.sh,v 1.2 2014/04/27 16:28:21 pooka Exp $
#
#
@@ -58,12 +58,12 @@
}
'
-SYSCOMP_HDR='/* $NetBSD: makerumpsyscalls.sh,v 1.1 2014/04/27 15:05:30 pooka Exp $ */
+SYSCOMP_HDR='/* $NetBSD: makerumpsyscalls.sh,v 1.2 2014/04/27 16:28:21 pooka Exp $ */
/* AUTOMATICALLY GENERATED BY makerumpsyscalls.sh */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: makerumpsyscalls.sh,v 1.1 2014/04/27 15:05:30 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: makerumpsyscalls.sh,v 1.2 2014/04/27 16:28:21 pooka Exp $");
#include <sys/param.h>
@@ -85,7 +85,7 @@
echo "${SYSCOMP_HDR}"
- echo ${2} | awk '{printf "extern const sy_call_t %s;\n", $2}'
+ echo ${2} | awk '{printf "extern sy_call_t %s;\n", $2}'
printf '\nstatic const struct rump_onesyscall mysys[] = {\n'
echo ${2} | awk '{printf "\t{ %d,\t%s },\n", $1, $2}'
printf '};\n'
Home |
Main Index |
Thread Index |
Old Index