home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / virus / ddj0491.zip / MORROW.ZIP / UTIL.H < prev   
C/C++ Source or Header  |  1989-09-03  |  296b  |  25 lines

  1. /***
  2. *       GASystem
  3. *       Mike Morrow
  4. *       September 1989
  5. ***/
  6.  
  7.  
  8.  
  9. /**
  10. *    util.h
  11. **/
  12.  
  13.  
  14. #if __STDC__
  15. extern char *eatblanks(char *);
  16. #else
  17. extern char *eatblanks();
  18. #endif
  19.  
  20. #ifdef unix
  21. #define randnum(x) (random() % (x))
  22. #else
  23. #define randnum(x) (rand() % (x))
  24. #endif
  25.