Root/
Source at commit 720 created 13 years 4 months ago. By meklort, Makefile updates for modules. Modules now contain includes in <module_dir>/include if they are shared. These includes are copied to a global path after compilation of that module so that other modules can have function prototypes of it (yay long sentences....) | |
---|---|
1 | /*␊ |
2 | * mrand48.c␊ |
3 | */␊ |
4 | ␊ |
5 | #include <stdlib.h>␊ |
6 | #include <stdint.h>␊ |
7 | ␊ |
8 | extern unsigned short __rand48_seed[3];␉/* Common with lrand48.c, srand48.c */␊ |
9 | ␊ |
10 | long mrand48(void)␊ |
11 | {␊ |
12 | ␉return jrand48(__rand48_seed);␊ |
13 | }␊ |
14 |