Changeset 16991 for titan/titan/global.h
- Timestamp:
- 07/06/12 17:07:48 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/global.h
r16960 r16991 1 1 #ifndef GLOBAL_H 2 2 #define GLOBAL_H 3 4 int getrandom(int max) 5 { 6 srand(time(NULL)); 7 return (rand() % max); 8 } 3 9 4 10 //check if swap is in flash(1) or not(0)
Note: See TracChangeset
for help on using the changeset viewer.