patch-Wnn_include_wnn_malloc_h 522 B

12345678910111213141516171819
  1. $OpenBSD: patch-Wnn_include_wnn_malloc_h,v 1.1 2015/07/25 16:47:12 espie Exp $
  2. --- Wnn/include/wnn_malloc.h.orig Mon Sep 16 23:30:10 1991
  3. +++ Wnn/include/wnn_malloc.h Sat Jul 25 17:12:43 2015
  4. @@ -50,6 +50,7 @@
  5. #ifndef WNN_MALLOC
  6. #define WNN_MALLOC
  7. +#if 0
  8. extern char *malloc0();
  9. extern void free0();
  10. extern char *realloc0();
  11. @@ -57,4 +58,6 @@ extern char *realloc0();
  12. #define malloc(s) malloc0(s)
  13. #define free(p) free0(p)
  14. #define realloc(p,s) realloc0(p,s)
  15. +#endif
  16. +#include <stdlib.h>
  17. #endif /* WNN_MALLOC */