diff options
| author | Jim Meyering <meyering@redhat.com> | 2008-06-27 10:54:23 +0200 |
|---|---|---|
| committer | Jim Meyering <meyering@redhat.com> | 2008-06-27 10:54:23 +0200 |
| commit | a67685628504d92b80eabe7cdc02c500f12b4873 (patch) | |
| tree | 55f09b93cd3d7454edf9b235815f0922c10a4d59 /src/split.c | |
| parent | truncate: Fix integer portability issues (diff) | |
| download | coreutils-a67685628504d92b80eabe7cdc02c500f12b4873.tar.gz coreutils-a67685628504d92b80eabe7cdc02c500f12b4873.zip | |
factor out time_t-to-string conversion idiom
* src/system.h: Include "inttostr.h".
(timetostr): New function, factored out of...
* src/date.c (show_date): Use timetostr.
* src/du.c (show_date): Likewise.
* src/ls.c (print_long_format): Likewise.
* src/pinky.c (time_string): Likewise.
* src/stat.c (human_time): Likewise.
* src/*.c: Don't include inttostr.h, since system.h does.
* src/c99-to-c89.diff: Adjust offsets.
Diffstat (limited to 'src/split.c')
| -rw-r--r-- | src/split.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/split.c b/src/split.c index 181d83783..c70e0c4f2 100644 --- a/src/split.c +++ b/src/split.c @@ -32,7 +32,6 @@ #include "fcntl--.h" #include "full-read.h" #include "full-write.h" -#include "inttostr.h" #include "quote.h" #include "safe-read.h" #include "xstrtol.h" |
