Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpdev tweak previous to actually work



details:   https://anonhg.NetBSD.org/src/rev/7c8b64e819dd
branches:  trunk
changeset: 752807:7c8b64e819dd
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Mar 07 16:55:44 2010 +0000

description:
tweak previous to actually work

diffstat:

 sys/rump/librump/rumpdev/rump_dev.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r 65e92ca589a2 -r 7c8b64e819dd sys/rump/librump/rumpdev/rump_dev.c
--- a/sys/rump/librump/rumpdev/rump_dev.c       Sun Mar 07 16:46:10 2010 +0000
+++ b/sys/rump/librump/rumpdev/rump_dev.c       Sun Mar 07 16:55:44 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump_dev.c,v 1.16 2010/03/07 16:46:10 pooka Exp $      */
+/*     $NetBSD: rump_dev.c,v 1.17 2010/03/07 16:55:44 pooka Exp $      */
 
 /*
  * Copyright (c) 2009 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_dev.c,v 1.16 2010/03/07 16:46:10 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_dev.c,v 1.17 2010/03/07 16:55:44 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -34,10 +34,10 @@
 #include "rump_private.h"
 #include "rump_dev_private.h"
 
-void nocomponent(void);
-void nocomponent() {}
+int nocomponent(void);
+int nocomponent() {return 0;}
 __weak_alias(rump_device_components,nocomponent);
-__weak_alias(buf_syncwait,nullop);
+__weak_alias(buf_syncwait,nocomponent);
 
 const char *rootspec = "rump0a"; /* usually comes from config */
 



Home | Main Index | Thread Index | Old Index