projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* fixed GCC 4.4.0 mingw compilation:
[fw/sdcc]
/
device
/
include
/
stdlib.h
diff --git
a/device/include/stdlib.h
b/device/include/stdlib.h
index 27328370853a0d298a4b5061b298589eac9637c4..1e3dbeb87ade4369fdc107c75255e267070236ce 100644
(file)
--- a/
device/include/stdlib.h
+++ b/
device/include/stdlib.h
@@
-43,4
+43,9
@@
extern void _itoa(unsigned int, char*, unsigned char);
extern void _ultoa(unsigned long, char*, unsigned char);
extern void _ltoa(unsigned long, char*, unsigned char);
+
+#define RAND_MAX 32767
+
+int rand(void);
+void srand(unsigned int seed);
#endif