aboutsummaryrefslogtreecommitdiff
path: root/libbb/dump.c
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-08-03 15:41:12 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-08-03 15:41:12 +0000
commit5e2a5391f9142bca773aab4c829615895b69a6b7 (patch)
treee4a2769349867c441cf2983d83097bb66701a733 /libbb/dump.c
parente883e03918a0e26e390ea23996abdb8fc1925f88 (diff)
downloadbusybox-w32-5e2a5391f9142bca773aab4c829615895b69a6b7.tar.gz
busybox-w32-5e2a5391f9142bca773aab4c829615895b69a6b7.tar.bz2
busybox-w32-5e2a5391f9142bca773aab4c829615895b69a6b7.zip
Remove bb_ prefixes from xfuncs.c (and a few other places), consolidate
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.) git-svn-id: svn://busybox.net/trunk/busybox@15767 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb/dump.c')
-rw-r--r--libbb/dump.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libbb/dump.c b/libbb/dump.c
index f1d5df2d6..28f745fb6 100644
--- a/libbb/dump.c
+++ b/libbb/dump.c
@@ -12,9 +12,6 @@
12 */ 12 */
13 13
14#include "libbb.h" 14#include "libbb.h"
15#include <string.h>
16#include <unistd.h>
17#include <ctype.h> /* for isdigit() */
18#include "dump.h" 15#include "dump.h"
19 16
20enum _vflag bb_dump_vflag = FIRST; 17enum _vflag bb_dump_vflag = FIRST;
@@ -232,7 +229,7 @@ static void rewrite(FS * fs)
232 */ 229 */
233 savech = *p2; 230 savech = *p2;
234 p1[1] = '\0'; 231 p1[1] = '\0';
235 pr->fmt = bb_xstrdup(fmtp); 232 pr->fmt = xstrdup(fmtp);
236 *p2 = savech; 233 *p2 = savech;
237 pr->cchar = pr->fmt + (p1 - fmtp); 234 pr->cchar = pr->fmt + (p1 - fmtp);
238 235