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/0b0d60d8e705
branches:  trunk
changeset: 795755:0b0d60d8e705
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 2123d19bbbe6 -r 0b0d60d8e705 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 2123d19bbbe6 -r 0b0d60d8e705 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