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 /libbb/chomp.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 'libbb/chomp.c')
-rw-r--r-- | libbb/chomp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/chomp.c b/libbb/chomp.c index 4fcbb263d..774e533d4 100644 --- a/libbb/chomp.c +++ b/libbb/chomp.c | |||
@@ -2,7 +2,7 @@ | |||
2 | /* | 2 | /* |
3 | * Utility routines. | 3 | * Utility routines. |
4 | * | 4 | * |
5 | * Copyright (C) many different people. | 5 | * Copyright (C) many different people. |
6 | * If you wrote this, please acknowledge your work. | 6 | * If you wrote this, please acknowledge your work. |
7 | * | 7 | * |
8 | * This program is free software; you can redistribute it and/or modify | 8 | * This program is free software; you can redistribute it and/or modify |
@@ -29,7 +29,7 @@ | |||
29 | void chomp(char *s) | 29 | void chomp(char *s) |
30 | { | 30 | { |
31 | char *lc = last_char_is(s, '\n'); | 31 | char *lc = last_char_is(s, '\n'); |
32 | 32 | ||
33 | if(lc) | 33 | if(lc) |
34 | *lc = 0; | 34 | *lc = 0; |
35 | } | 35 | } |