Source-Changes-HG archive

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

[src/trunk]: src/lib/librumpuser Minor fixes to types and includes



details:   https://anonhg.NetBSD.org/src/rev/780e76b573d5
branches:  trunk
changeset: 336167:780e76b573d5
user:      justin <justin%NetBSD.org@localhost>
date:      Sun Feb 15 00:54:32 2015 +0000

description:
Minor fixes to types and includes

diffstat:

 lib/librumpuser/rumpfiber.c    |  7 +++----
 lib/librumpuser/rumpfiber.h    |  4 ++--
 lib/librumpuser/rumpfiber_sp.c |  5 +++--
 3 files changed, 8 insertions(+), 8 deletions(-)

diffs (69 lines):

diff -r 25aa38ef417e -r 780e76b573d5 lib/librumpuser/rumpfiber.c
--- a/lib/librumpuser/rumpfiber.c       Sat Feb 14 23:12:29 2015 +0000
+++ b/lib/librumpuser/rumpfiber.c       Sun Feb 15 00:54:32 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpfiber.c,v 1.11 2015/02/13 22:00:53 justin Exp $    */
+/*     $NetBSD: rumpfiber.c,v 1.12 2015/02/15 00:54:32 justin Exp $    */
 
 /*
  * Copyright (c) 2007-2013 Antti Kantee.  All Rights Reserved.
@@ -68,10 +68,9 @@
 #include "rumpuser_port.h"
 
 #if !defined(lint)
-__RCSID("$NetBSD: rumpfiber.c,v 1.11 2015/02/13 22:00:53 justin Exp $");
+__RCSID("$NetBSD: rumpfiber.c,v 1.12 2015/02/15 00:54:32 justin Exp $");
 #endif /* !lint */
 
-#include <sys/ioctl.h>
 #include <sys/mman.h>
 #include <sys/time.h>
 
@@ -486,7 +485,7 @@
 rumpuser_clock_sleep(int enum_rumpclock, int64_t sec, long nsec)
 {
        enum rumpclock rclk = enum_rumpclock;
-       uint32_t msec;
+       uint64_t msec;
        int nlocks;
 
        rumpkern_unsched(&nlocks, NULL);
diff -r 25aa38ef417e -r 780e76b573d5 lib/librumpuser/rumpfiber.h
--- a/lib/librumpuser/rumpfiber.h       Sat Feb 14 23:12:29 2015 +0000
+++ b/lib/librumpuser/rumpfiber.h       Sun Feb 15 00:54:32 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpfiber.h,v 1.3 2014/12/29 21:50:09 justin Exp $     */
+/*     $NetBSD: rumpfiber.h,v 1.4 2015/02/15 00:54:32 justin Exp $     */
 
 /*
  * Copyright (c) 2014 Justin Cormack.  All Rights Reserved.
@@ -40,7 +40,7 @@
     int64_t wakeup_time;
     TAILQ_ENTRY(thread) thread_list;
     ucontext_t ctx;
-    uint32_t flags;
+    int flags;
     int threrrno;
 };
 
diff -r 25aa38ef417e -r 780e76b573d5 lib/librumpuser/rumpfiber_sp.c
--- a/lib/librumpuser/rumpfiber_sp.c    Sat Feb 14 23:12:29 2015 +0000
+++ b/lib/librumpuser/rumpfiber_sp.c    Sun Feb 15 00:54:32 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpfiber_sp.c,v 1.3 2014/12/29 21:50:09 justin Exp $  */
+/*     $NetBSD: rumpfiber_sp.c,v 1.4 2015/02/15 00:54:32 justin Exp $  */
 
 /*
  * Copyright (c) 2014 Justin Cormack.  All Rights Reserved.
@@ -30,9 +30,10 @@
 #include "rumpuser_port.h"
 
 #if !defined(lint)
-__RCSID("$NetBSD: rumpfiber_sp.c,v 1.3 2014/12/29 21:50:09 justin Exp $");
+__RCSID("$NetBSD: rumpfiber_sp.c,v 1.4 2015/02/15 00:54:32 justin Exp $");
 #endif /* !lint */
 
+#include <stdint.h>
 #include <stdlib.h>
 
 #include <rump/rumpuser.h>



Home | Main Index | Thread Index | Old Index