mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 04:20:17 +03:00
Fix prototype of sleep() and move it to unistd.h
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include "compiler.h"
|
||||
#include "stddef.h"
|
||||
#include "stdint.h"
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
/*
|
||||
@@ -220,7 +221,6 @@ extern int load_block P((unsigned char *, unsigned int, unsigned int, int ));
|
||||
|
||||
/* misc.c */
|
||||
extern void twiddle P((void));
|
||||
extern void sleep P((int secs));
|
||||
extern void interruptible_sleep P((int secs));
|
||||
extern int strcasecmp P((const char *a, const char *b));
|
||||
extern char *substr P((const char *a, const char *b));
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#include <stddef.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
extern unsigned int sleep ( unsigned int seconds );
|
||||
extern int execv ( const char *command, char * const argv[] );
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user