summaryrefslogtreecommitdiff
path: root/flexdef.h
diff options
context:
space:
mode:
authorJohn Millaway <john43@users.sourceforge.net>2002-05-10 19:33:34 +0000
committerJohn Millaway <john43@users.sourceforge.net>2002-05-10 19:33:34 +0000
commit3c5f2fde0dedf5b4fd54abac9a7320d347d749b6 (patch)
tree03b3b23da2ff2ea03c82dfdfc5228ddfc730bb64 /flexdef.h
parent2ade0c4c60d3fa1d0790db4bcb2f4c77d18b1058 (diff)
chomp'd lines when reading external skel file.
Diffstat (limited to 'flexdef.h')
-rw-r--r--flexdef.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/flexdef.h b/flexdef.h
index 8b82bb3..83843a1 100644
--- a/flexdef.h
+++ b/flexdef.h
@@ -1058,4 +1058,7 @@ extern struct Buf defs_buf;
extern jmp_buf flex_main_jmp_buf;
#define FLEX_EXIT(status) longjmp(flex_main_jmp_buf,(status)+1)
+/* Removes all \n and \r chars from tail of str. returns str. */
+extern char* chomp(char* str);
+
#endif /* not defined FLEXDEF_H */