aboutsummaryrefslogtreecommitdiff
path: root/lout/misc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lout/misc.cc')
-rw-r--r--lout/misc.cc23
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
// ----------------