Mercurial > dillo_port1.3
changeset 1344:9904cdebd2a6
rm unused lout::misc functions
author | corvid <corvid@lavabit.com> |
---|---|
date | Sat, 03 Oct 2009 19:02:36 +0000 |
parents | 16ed4ed58863 |
children | f45f1226f936 |
files | lout/misc.cc lout/misc.hh |
diffstat | 2 files changed, 0 insertions(+), 26 deletions(-) [+] |
line wrap: on
line diff
--- a/lout/misc.cc Sat Oct 03 15:29:57 2009 +0000 +++ b/lout/misc.cc Sat Oct 03 19:02:36 2009 +0000 @@ -37,29 +37,6 @@ prgName = strdup (argv[0]); } -void chop (char *s) -{ - char *p = s + strlen (s) - 1; - while (*p == '\n') { - *p = 0; - p--; - } -} - -char *strip (char *s) -{ - while (isspace (*s)) - s++; - - char *p = s + strlen (s) - 1; - while (isspace (*p)) { - *p = 0; - p--; - } - - return s; -} - // ---------------- // Comparable // ----------------