diff options
author | corvid <corvid@lavabit.com> | 2009-10-03 19:02:36 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2009-10-03 19:02:36 +0000 |
commit | 8d8284c216ff7b529cb5417f224fcadb844957e2 (patch) | |
tree | b018a9e97e50b14d4df69a5c678250ddcd870d00 /lout/misc.cc | |
parent | 241f20d9187569eedeb974f2edbf2cbf09be2409 (diff) |
rm unused lout::misc functions
Diffstat (limited to 'lout/misc.cc')
-rw-r--r-- | lout/misc.cc | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/lout/misc.cc b/lout/misc.cc index 89345f49..78f758fd 100644 --- a/lout/misc.cc +++ b/lout/misc.cc @@ -37,29 +37,6 @@ void init (int argc, char *argv[]) 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 // ---------------- |