aboutsummaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-05-03 17:51:52 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-05-03 17:51:52 +0200
commit3c6a6c4c342e2b5cca62cda849acc6d476dafa30 (patch)
tree029880665f1436e4a6e325e1c4761d04b7c8127c /text.h
parent1c8990a329fabf3cf4ab790a61ee86c35391c042 (diff)
downloadvis-3c6a6c4c342e2b5cca62cda849acc6d476dafa30.tar.gz
vis-3c6a6c4c342e2b5cca62cda849acc6d476dafa30.tar.xz
text: remove text_insert_newline function
This is no longer needed because we always insert \n never \r\n.
Diffstat (limited to 'text.h')
-rw-r--r--text.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/text.h b/text.h
index 3080acb..abeaef4 100644
--- a/text.h
+++ b/text.h
@@ -357,8 +357,6 @@ ssize_t text_write_range(Text*, Filerange*, int fd);
bool text_mmaped(Text*, const char *ptr);
/** @} */
-size_t text_insert_newline(Text*, size_t pos);
-
#define text_iterate(txt, it, pos) \
for (Iterator it = text_iterator_get((txt), (pos)); \
text_iterator_valid(&it); \