patch-monsters_c 378 B

1234567891011121314
  1. $OpenBSD: patch-monsters_c,v 1.1 2017/05/07 17:46:24 espie Exp $
  2. Index: monsters.c
  3. --- monsters.c.orig
  4. +++ monsters.c
  5. @@ -51,7 +51,6 @@ extern struct mon_rec start_of_list;
  6. struct mon_rec *make_monster(x,y)
  7. int x,y;
  8. {
  9. - char *malloc();
  10. #define MALLOC (struct mon_rec *)malloc(sizeof(struct mon_rec))
  11. struct mon_rec *monster;
  12. if(tail_of_list->next == NULL)