patch-xmalloc_c 299 B

12345678910111213
  1. $OpenBSD: patch-xmalloc_c,v 1.1 2012/01/08 00:12:13 sthen Exp $
  2. --- xmalloc.c.orig Sun Jan 8 00:04:35 2012
  3. +++ xmalloc.c Sun Jan 8 00:04:44 2012
  4. @@ -24,7 +24,7 @@
  5. */
  6. #include <stdio.h>
  7. #include <string.h>
  8. -extern char *malloc(), *realloc();
  9. +#include <stdlib.h>
  10. char *xmalloc (int size)
  11. {