Removed references to malloc.h Allocating and freeing memory
is now handled by stdlib.h
This commit is contained in:
parent
64ebef64c8
commit
5dc965ba10
@ -11,6 +11,9 @@ sysvinit (2.94) unreleased; urgency=low
|
|||||||
If halt is called without -p then the value of INIT_HALT
|
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 not set and the default action (often set in /etc/defaut/halt)
|
||||||
is taken.
|
is taken.
|
||||||
|
* Removed unnecessary malloc.h includes. Memory allocation
|
||||||
|
and freeing is now handled in stdlib.h
|
||||||
|
|
||||||
|
|
||||||
sysvinit (2.93) released; urgency=low
|
sysvinit (2.93) released; urgency=low
|
||||||
|
|
||||||
|
@ -40,7 +40,6 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <malloc.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -34,7 +34,6 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <utmp.h>
|
#include <utmp.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <malloc.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user