patch-source_main_c 750 B

123456789101112131415161718192021222324252627282930313233343536
  1. $OpenBSD: patch-source_main_c,v 1.2 2013/04/05 20:36:27 naddy Exp $
  2. --- source/main.c.orig Fri Jul 22 03:47:27 1994
  3. +++ source/main.c Fri Apr 5 22:20:46 2013
  4. @@ -88,19 +88,8 @@
  5. #include <time.h>
  6. #endif
  7. -#ifndef VMS
  8. #ifndef MAC
  9. -#ifndef GEMDOS
  10. #ifndef AMIGA
  11. -long time();
  12. -#endif
  13. -#endif
  14. -char *getenv();
  15. -#endif
  16. -#endif
  17. -
  18. -#ifndef MAC
  19. -#ifndef AMIGA
  20. #ifdef USG
  21. #if !defined(MSDOS) && !defined(ATARIST_TC)
  22. unsigned short getuid(), getgid();
  23. @@ -360,11 +349,7 @@ char *argv[];
  24. else
  25. { /* Create character */
  26. create_character();
  27. -#ifdef MAC
  28. birth_date = time ((time_t *)0);
  29. -#else
  30. - birth_date = time ((long *)0);
  31. -#endif
  32. char_inven_init();
  33. py.flags.food = 7500;
  34. py.flags.food_digested = 2;