patch-xmalloc_c 302 B

12345678910111213141516171819
  1. $OpenBSD: patch-xmalloc_c,v 1.2 2017/05/12 20:27:25 naddy Exp $
  2. Index: xmalloc.c
  3. --- xmalloc.c.orig
  4. +++ xmalloc.c
  5. @@ -4,11 +4,9 @@
  6. */
  7. #include <curses.h>
  8. +#include <stdlib.h>
  9. #include "sc.h"
  10. -extern char *malloc();
  11. -extern char *realloc();
  12. -extern void free();
  13. void fatal();
  14. #ifdef SYSV3