summaryrefslogtreecommitdiffstats
path: root/include/cmdiet.h
blob: ff12d4d8f82e37ccdd088c5c3065a530553b10bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* $Id$ */

#ifndef _CMDIET_H
#define _CMDIET_H

#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
 
#endif