aboutsummaryrefslogtreecommitdiff
path: root/libbb/chomp.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
commitc7bda1ce659294d6e22c06e087f6f265983c7578 (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /libbb/chomp.c
parent8854004b41065b3d081af7f3df13a100b0c8bfbe (diff)
downloadbusybox-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'libbb/chomp.c')
-rw-r--r--libbb/chomp.c4
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 @@
/*
* Utility routines.
*
- * Copyright (C) many different people.
+ * Copyright (C) many different people.
* If you wrote this, please acknowledge your work.
*
* This program is free software; you can redistribute it and/or modify
@@ -29,7 +29,7 @@
void chomp(char *s)
{
char *lc = last_char_is(s, '\n');
-
+
if(lc)
*lc = 0;
}