mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 04:20:17 +03:00
Fix prototype of random() and move to stdlib.h
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user