[PATCH] ed.c: remove inclusion of legacy do-nothing headers
Rich Felker
dalias at aerifal.cx
Fri May 19 01:04:34 UTC 2006
ed.c does not compile on my system due to missing headers. malloc is
in stdlib.h since forever (ansi c) and mem* functions are in string.h
(same).
rich
-------------- next part --------------
Index: /home/shared/src/busybox/editors/ed.c
===================================================================
--- /home/shared/src/busybox/editors/ed.c (revision 15108)
+++ /home/shared/src/busybox/editors/ed.c (working copy)
@@ -11,11 +11,9 @@
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
-#include <memory.h>
#include <time.h>
#include <ctype.h>
#include <sys/param.h>
-#include <malloc.h>
#include "busybox.h"
#define USERSIZE 1024 /* max line length typed in by user */
More information about the busybox
mailing list