summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/misc.c b/misc.c
index 995fd20..ac50270 100644
--- a/misc.c
+++ b/misc.c
@@ -149,22 +149,6 @@ collapse_continuations (char *line)
*out = '\0';
}
-
-
-/* Remove comments from LINE.
- This is done by copying the text at LINE onto itself. */
-
-void
-remove_comments (char *line)
-{
- char *comment;
-
- comment = find_char_unquote (line, '#', 0, 0);
-
- if (comment != 0)
- /* Cut off the line at the #. */
- *comment = '\0';
-}
/* Print N spaces (used in debug for target-depth). */