diff options
-rw-r--r-- | lout/misc.cc | 23 | ||||
-rw-r--r-- | lout/misc.hh | 3 |
2 files changed, 0 insertions, 26 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 // ---------------- diff --git a/lout/misc.hh b/lout/misc.hh index f9cb939a..23c2d7c1 100644 --- a/lout/misc.hh +++ b/lout/misc.hh @@ -31,9 +31,6 @@ template <class T> inline T max (T a, T b, T c) extern const char *prgName; void init (int argc, char *argv[]); -void chop (char *s); -char *strip (char *s); - inline void assertNotReached () { |