diff options
Diffstat (limited to 'include/proto.h')
-rw-r--r-- | include/proto.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/proto.h b/include/proto.h index a84c2fbb..a6b9104d 100644 --- a/include/proto.h +++ b/include/proto.h @@ -10,6 +10,17 @@ #define GCC_NORETURN #endif +#ifdef __dietlibc__ +#define random glibc_random +#define srandom glibc_srandom +#define initstate glibc_initstate +#define setstate glibc_setstate +long int random(void); +void srandom(unsigned int seed); +char *initstate(unsigned int seed, char *state, size_t n); +char *setstate(char *state); +#endif + /* admin */ int m_loginmsg(void); int m_mod_board(char *bname); |