retire rumpuser_usleep() in favor of rumpuser_nanosleep()

This commit is contained in:
pooka 2008-06-24 14:14:57 +00:00
parent 441a8c67a3
commit 281bc3d490
2 changed files with 2 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: rumpuser.c,v 1.15 2008/06/24 14:11:45 pooka Exp $ */
/* $NetBSD: rumpuser.c,v 1.16 2008/06/24 14:14:57 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@ -88,13 +88,6 @@ rumpuser_lstat(const char *path, struct stat *sb, int *error)
DOCALL(int, (lstat(path, sb)));
}
int
rumpuser_usleep(unsigned long sec, int *error)
{
DOCALL(int, (usleep(sec)));
}
int
rumpuser_nanosleep(const struct timespec *rqtp, struct timespec *rmtp,
int *error)

View File

@ -1,4 +1,4 @@
/* $NetBSD: rumpuser.h,v 1.17 2008/06/24 14:11:45 pooka Exp $ */
/* $NetBSD: rumpuser.h,v 1.18 2008/06/24 14:14:57 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@ -36,7 +36,6 @@
int rumpuser_stat(const char *, struct stat *, int *);
int rumpuser_lstat(const char *, struct stat *, int *);
int rumpuser_usleep(unsigned long, int *);
int rumpuser_nanosleep(const struct timespec *, struct timespec *, int *);
#define rumpuser_malloc(a,b) _rumpuser_malloc(a,b,__func__,__LINE__);