summaryrefslogtreecommitdiff
path: root/lib/convert.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/convert.c')
-rw-r--r--lib/convert.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/convert.c b/lib/convert.c
index a4639c4..c3e011d 100644
--- a/lib/convert.c
+++ b/lib/convert.c
@@ -1,5 +1,4 @@
-#include "convert.h"
-#include "error.h"
+#include "lslib.h"
#include <ctype.h>
#include <stdio.h>
@@ -124,3 +123,10 @@ void print_file_path(char* path) {
printf("%s", path);
}
}
+
+void nuke_str(char* type) {
+ *type = 0;
+ while(*(++type)) {
+ *type = 0;
+ }
+}