remove obsolete and useless useconds_t type
This commit is contained in:
parent
3bb00f4579
commit
5243e5f160
5 changed files with 4 additions and 7 deletions
|
|
@ -2,7 +2,7 @@
|
|||
#include "syscall.h"
|
||||
|
||||
/* FIXME: ?? */
|
||||
useconds_t ualarm(useconds_t useconds, useconds_t interval)
|
||||
unsigned ualarm(unsigned useconds, unsigned interval)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
|
||||
int usleep(useconds_t useconds)
|
||||
int usleep(unsigned useconds)
|
||||
{
|
||||
struct timespec tv = {
|
||||
.tv_sec = useconds/1000000,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue