diff options
| author | Michael Brown | 2006-12-22 02:44:51 +0100 |
|---|---|---|
| committer | Michael Brown | 2006-12-22 02:44:51 +0100 |
| commit | 73e3e02367e1b8aa45dd3d137ba81f94ee76f0f9 (patch) | |
| tree | bc68c46f939c3d48b5e6bcac1b5a1f53a142d8fe /src/include | |
| parent | Make start_timer() and stop_timer() robust against incorrect usage. (diff) | |
| download | ipxe-73e3e02367e1b8aa45dd3d137ba81f94ee76f0f9.tar.gz ipxe-73e3e02367e1b8aa45dd3d137ba81f94ee76f0f9.tar.xz ipxe-73e3e02367e1b8aa45dd3d137ba81f94ee76f0f9.zip | |
Fix prototype of random() and move to stdlib.h
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/etherboot.h | 1 | ||||
| -rw-r--r-- | src/include/stdlib.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/include/etherboot.h b/src/include/etherboot.h index b26379c26..82519fdf4 100644 --- a/src/include/etherboot.h +++ b/src/include/etherboot.h @@ -208,7 +208,6 @@ extern int decode_rfc1533 P((unsigned char *, unsigned int, unsigned int, int)); #define RAND_MAX 2147483647L extern uint16_t ipchksum P((const void *ip, unsigned long len)); extern uint16_t add_ipchksums P((unsigned long offset, uint16_t sum, uint16_t new)); -extern int32_t random P((void)); extern long rfc2131_sleep_interval P((long base, int exp)); extern void cleanup P((void)); diff --git a/src/include/stdlib.h b/src/include/stdlib.h index d71ee1ab2..2b6471e1c 100644 --- a/src/include/stdlib.h +++ b/src/include/stdlib.h @@ -6,6 +6,7 @@ extern void * realloc ( void *old_ptr, size_t new_size ); extern void * malloc ( size_t size ); extern void free ( void *ptr ); extern int system ( const char *command ); +extern long int random ( void ); /** * Allocate cleared memory |
