diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-03-15 08:29:22 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-03-15 08:29:22 +0000 |
commit | b16674f3c1a961e0b5d6a57745f5f749d95c641e (patch) | |
tree | 4c6d2217f4d8306c59cf1096f8664e1cfd167213 /coreutils/dos2unix.c | |
parent | e7135df4a650f9197b633784472f45602524855b (diff) | |
download | busybox-w32-b16674f3c1a961e0b5d6a57745f5f749d95c641e.tar.gz busybox-w32-b16674f3c1a961e0b5d6a57745f5f749d95c641e.tar.bz2 busybox-w32-b16674f3c1a961e0b5d6a57745f5f749d95c641e.zip |
Remove trailing whitespace. Update copyright to include 2004.
git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 | } |