diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-10-12 03:13:57 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-10-12 03:13:57 +0000 |
commit | 89e12767b0ab4b4516e9f7b794f385ebf517c809 (patch) | |
tree | 4f8b9526ab4b0c977c8ba14186f25e62dd3797a0 /include | |
parent | 1c6c8138691b9e3adb483a6e134a8860a7cb9d06 (diff) |
Warn when <malloc.h> is included, recommending <stdlib.h>
Diffstat (limited to 'include')
-rw-r--r-- | include/malloc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/malloc.h b/include/malloc.h index fd313a345c4..590c7d8f963 100644 --- a/include/malloc.h +++ b/include/malloc.h @@ -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> |