summaryrefslogtreecommitdiffabout
path: root/src
authorSergey Poznyakoff <gray@gnu.org.ua>2016-07-04 09:47:41 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2016-07-04 12:46:13 (GMT)
commit50c258dd5f5cc08e1742dc52214abe92691859e7 (patch) (unidiff)
tree1b4e4c297970d61c7c8af64be4b7281ac255802f /src
parent161819277c47ee15494680bf7b58f5c1e01ab224 (diff)
downloadgrecs-50c258dd5f5cc08e1742dc52214abe92691859e7.tar.gz
grecs-50c258dd5f5cc08e1742dc52214abe92691859e7.tar.bz2
Fix prototypes.
Diffstat (limited to 'src') (more/less context) (ignore whitespace changes)
-rw-r--r--src/lineacc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lineacc.c b/src/lineacc.c
index f1d6862..c5b4759 100644
--- a/src/lineacc.c
+++ b/src/lineacc.c
@@ -58,14 +58,14 @@ grecs_line_acc_grow(const char *text, size_t len)
58{ 58{
59 grecs_txtacc_grow(line_acc, text, len); 59 grecs_txtacc_grow(line_acc, text, len);
60} 60}
61 61
62/* Same, but unescapes the last character from text */ 62/* Same, but unescapes the last character from text */
63void 63void
64grecs_line_acc_grow_unescape_last(char *text, size_t len, 64grecs_line_acc_grow_unescape_last(char *text, size_t len,
65 grecs_locus_t const *loc) 65 grecs_locus_t const *loc)
66{ 66{
67 grecs_txtacc_grow(line_acc, text, len - 2); 67 grecs_txtacc_grow(line_acc, text, len - 2);
68 if (grecs_line_acc_grow_char_unescape(text[len - 1]) && loc) 68 if (grecs_line_acc_grow_char_unescape(text[len - 1]) && loc)
69 grecs_warning(loc, 0, 69 grecs_warning(loc, 0,
70 _("unknown escape sequence: '\\%c'"), 70 _("unknown escape sequence: '\\%c'"),
71 text[len - 1]); 71 text[len - 1]);

Return to:

Send suggestions and report system problems to the System administrator.