diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-03-15 08:29:22 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-03-15 08:29:22 +0000 |
commit | c7bda1ce659294d6e22c06e087f6f265983c7578 (patch) | |
tree | 4c6d2217f4d8306c59cf1096f8664e1cfd167213 /coreutils/dos2unix.c | |
parent | 8854004b41065b3d081af7f3df13a100b0c8bfbe (diff) | |
download | busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.bz2 busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.zip |
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'coreutils/dos2unix.c')
-rw-r--r-- | coreutils/dos2unix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/dos2unix.c b/coreutils/dos2unix.c index c28e6a8b9..a21ed5bc3 100644 --- a/coreutils/dos2unix.c +++ b/coreutils/dos2unix.c | |||
@@ -50,7 +50,7 @@ typedef unsigned long int bb_uint64_t; | |||
50 | static const char letters[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; | 50 | static const char letters[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; |
51 | 51 | ||
52 | // if fn is NULL then input is stdin and output is stdout | 52 | // if fn is NULL then input is stdin and output is stdout |
53 | static int convert(char *fn, int ConvType) | 53 | static int convert(char *fn, int ConvType) |
54 | { | 54 | { |
55 | int c, fd; | 55 | int c, fd; |
56 | struct timeval tv; | 56 | struct timeval tv; |
@@ -156,12 +156,12 @@ static int convert(char *fn, int ConvType) | |||
156 | return 0; | 156 | return 0; |
157 | } | 157 | } |
158 | 158 | ||
159 | int dos2unix_main(int argc, char *argv[]) | 159 | int dos2unix_main(int argc, char *argv[]) |
160 | { | 160 | { |
161 | int ConvType = CT_AUTO; | 161 | int ConvType = CT_AUTO; |
162 | int o; | 162 | int o; |
163 | 163 | ||
164 | //See if we are supposed to be doing dos2unix or unix2dos | 164 | //See if we are supposed to be doing dos2unix or unix2dos |
165 | if (argv[0][0]=='d') { | 165 | if (argv[0][0]=='d') { |
166 | ConvType = CT_DOS2UNIX; | 166 | ConvType = CT_DOS2UNIX; |
167 | } | 167 | } |