[PATCH] u_signal_names.c needs strings.h
Rich Felker
dalias at aerifal.cx
Thu May 18 19:01:27 PDT 2006
note: this function could also be significantly reduced in size by
replacing the struct full of pointers to the names (wasting 4 bytes
per name) with a single string separated by nul bytes. and if libbb is
shared/pic this would move the data to sharable memory.
rich
-------------- next part --------------
Index: libbb/u_signal_names.c
===================================================================
--- libbb/u_signal_names.c (revision 15108)
+++ libbb/u_signal_names.c (working copy)
@@ -11,6 +11,7 @@
#include <signal.h>
#include <ctype.h>
#include <string.h>
+#include <strings.h>
#include <stdlib.h>
#include <stdio.h>
More information about the busybox
mailing list