Remove dropin random() function, as it is not used anymore.

This commit is contained in:
Guus Sliepen 2009-09-15 00:28:20 +02:00
parent fa9bedd47c
commit 6f1e0ece4e
2 changed files with 0 additions and 16 deletions

View file

@ -168,15 +168,3 @@ int gettimeofday(struct timeval *tv, void *tz) {
return 0;
}
#endif
#ifndef HAVE_RANDOM
#include <openssl/rand.h>
long int random(void) {
long int x;
RAND_pseudo_bytes((unsigned char *)&x, sizeof(x));
return x;
}
#endif

View file

@ -43,8 +43,4 @@ extern int vasprintf(char **, const char *, va_list ap);
extern int gettimeofday(struct timeval *, void *);
#endif
#ifndef HAVE_RANDOM
extern long int random(void);
#endif
#endif /* __DROPIN_H__ */