Browse Source

Warn when <malloc.h> is included, recommending <stdlib.h>

OPENBSD_2_1
tholo 28 years ago
parent
commit
b862b7911f
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/include/malloc.h

+ 3
- 0
src/include/malloc.h View File

@ -1,3 +1,6 @@
/* $OpenBSD: malloc.h,v 1.2 1996/10/12 03:13:56 tholo Exp $ */
/* $NetBSD: malloc.h,v 1.3 1994/10/26 00:56:03 cgd Exp $ */
#warning "<malloc.h> is obsolete, use <stdlib.h>"
#include <stdlib.h>

Loading…
Cancel
Save