aboutsummaryrefslogtreecommitdiff
path: root/coreutils/stat.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 /coreutils/stat.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 'coreutils/stat.c')
-rw-r--r--coreutils/stat.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/coreutils/stat.c b/coreutils/stat.c
index 7e39d5ecd..8e0121849 100644
--- a/coreutils/stat.c
+++ b/coreutils/stat.c
@@ -12,18 +12,6 @@
12 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. 12 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
13 */ 13 */
14 14
15#include <stdio.h>
16#include <stdint.h>
17#include <sys/types.h>
18#include <pwd.h>
19#include <grp.h>
20#include <sys/vfs.h>
21#include <time.h>
22#include <getopt.h> /* optind */
23#include <sys/stat.h>
24#include <sys/statfs.h>
25#include <sys/statvfs.h>
26#include <string.h>
27#include "busybox.h" 15#include "busybox.h"
28 16
29/* vars to control behavior */ 17/* vars to control behavior */
@@ -321,7 +309,7 @@ static void print_it(char const *masterformat, char const *filename,
321 char *b; 309 char *b;
322 310
323 /* create a working copy of the format string */ 311 /* create a working copy of the format string */
324 char *format = bb_xstrdup(masterformat); 312 char *format = xstrdup(masterformat);
325 313
326 /* Add 2 to accommodate our conversion of the stat `%s' format string 314 /* Add 2 to accommodate our conversion of the stat `%s' format string
327 * to the printf `%llu' one. */ 315 * to the printf `%llu' one. */