aboutsummaryrefslogtreecommitdiff
path: root/coreutils/stat.c
diff options
context:
space:
mode:
authortimr <timr@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-01-25 00:08:53 +0000
committertimr <timr@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-01-25 00:08:53 +0000
commitfd8222f9b9db2a783b17ec9c59cf3fc22a4e4586 (patch)
tree5f329b7d0c7f20ecced0dc7581a9ba6dc720d965 /coreutils/stat.c
parent45d75f9ecc8f2b582407059da7d414f990ced68a (diff)
downloadbusybox-w32-fd8222f9b9db2a783b17ec9c59cf3fc22a4e4586.tar.gz
busybox-w32-fd8222f9b9db2a783b17ec9c59cf3fc22a4e4586.tar.bz2
busybox-w32-fd8222f9b9db2a783b17ec9c59cf3fc22a4e4586.zip
just whitespace
git-svn-id: svn://busybox.net/trunk/busybox@13584 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/stat.c')
-rw-r--r--coreutils/stat.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/coreutils/stat.c b/coreutils/stat.c
index c17b4d5e8..44289fbaa 100644
--- a/coreutils/stat.c
+++ b/coreutils/stat.c
@@ -44,9 +44,9 @@ static long flags;
44 44
45static char const *file_type(struct stat const *st) 45static char const *file_type(struct stat const *st)
46{ 46{
47 /* See POSIX 1003.1-2001 XCU Table 4-8 lines 17093-17107 47 /* See POSIX 1003.1-2001 XCU Table 4-8 lines 17093-17107
48 * for some of these formats. 48 * for some of these formats.
49 * To keep diagnostics grammatical in English, the 49 * To keep diagnostics grammatical in English, the
50 * returned string must start with a consonant. 50 * returned string must start with a consonant.
51 */ 51 */
52 if (S_ISREG(st->st_mode)) return st->st_size == 0 ? "regular empty file" : "regular file"; 52 if (S_ISREG(st->st_mode)) return st->st_size == 0 ? "regular empty file" : "regular file";
@@ -131,8 +131,8 @@ static char const *human_fstype(long f_type)
131 131
132#ifdef CONFIG_FEATURE_STAT_FORMAT 132#ifdef CONFIG_FEATURE_STAT_FORMAT
133/* print statfs info */ 133/* print statfs info */
134static void print_statfs(char *pformat, size_t buf_len, char m, 134static void print_statfs(char *pformat, size_t buf_len, char m,
135 char const *filename, void const *data) 135 char const *filename, void const *data)
136{ 136{
137 struct statfs const *statfsbuf = data; 137 struct statfs const *statfsbuf = data;
138 138
@@ -190,8 +190,8 @@ static void print_statfs(char *pformat, size_t buf_len, char m,
190} 190}
191 191
192/* print stat info */ 192/* print stat info */
193static void print_stat(char *pformat, size_t buf_len, char m, 193static void print_stat(char *pformat, size_t buf_len, char m,
194 char const *filename, void const *data) 194 char const *filename, void const *data)
195{ 195{
196#define TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) 196#define TYPE_SIGNED(t) (! ((t) 0 < (t) -1))
197 struct stat *statbuf = (struct stat *) data; 197 struct stat *statbuf = (struct stat *) data;
@@ -326,9 +326,9 @@ static void print_stat(char *pformat, size_t buf_len, char m,
326 } 326 }
327} 327}
328 328
329static void print_it(char const *masterformat, char const *filename, 329static void print_it(char const *masterformat, char const *filename,
330 void (*print_func) (char *, size_t, char, char const *, void const *), 330 void (*print_func) (char *, size_t, char, char const *, void const *),
331 void const *data) 331 void const *data)
332{ 332{
333 char *b; 333 char *b;
334 334