Removed references to malloc.h Allocating and freeing memory

is now handled by stdlib.h
This commit is contained in:
Jesse Smith 2018-12-09 17:55:52 -04:00
parent 64ebef64c8
commit 5dc965ba10
3 changed files with 3 additions and 2 deletions

View File

@ -11,6 +11,9 @@ sysvinit (2.94) unreleased; urgency=low
If halt is called without -p then the value of INIT_HALT
is not set and the default action (often set in /etc/defaut/halt)
is taken.
* Removed unnecessary malloc.h includes. Memory allocation
and freeing is now handled in stdlib.h
sysvinit (2.93) released; urgency=low

View File

@ -40,7 +40,6 @@
#include <time.h>
#include <stdio.h>
#include <errno.h>
#include <malloc.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>

View File

@ -34,7 +34,6 @@
#include <ctype.h>
#include <utmp.h>
#include <errno.h>
#include <malloc.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>