summaryrefslogtreecommitdiffabout
path: root/src
authorSergey Poznyakoff <gray@gnu.org>2016-06-18 09:12:07 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2016-06-18 09:12:07 (GMT)
commit59f9073082a0033a9a54ea27b2409bd087d63709 (patch) (side-by-side diff)
tree6bff9d64adeff0cded727756e081defc35cc9915 /src
parent45c143f157d7225fac7df014d80fc73085e1a126 (diff)
downloadgrecs-59f9073082a0033a9a54ea27b2409bd087d63709.tar.gz
grecs-59f9073082a0033a9a54ea27b2409bd087d63709.tar.bz2
Fix prototypes.
Diffstat (limited to 'src') (more/less context) (ignore whitespace changes)
-rw-r--r--src/grecs.hin5
-rw-r--r--src/lineacc.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/src/grecs.hin b/src/grecs.hin
index 812834f..486058e 100644
--- a/src/grecs.hin
+++ b/src/grecs.hin
@@ -288,5 +288,6 @@ void grecs_line_acc_free(void);
void grecs_line_acc_grow_char(int c);
-void grecs_line_acc_grow_char_unescape(int c);
+int grecs_line_acc_grow_char_unescape(int c);
void grecs_line_acc_grow(const char *text, size_t len);
-void grecs_line_acc_grow_unescape_last(char *text, size_t len);
+void grecs_line_acc_grow_unescape_last(char *text, size_t len,
+ grecs_locus_t const *loc);
diff --git a/src/lineacc.c b/src/lineacc.c
index c1957a6..3d5b4d6 100644
--- a/src/lineacc.c
+++ b/src/lineacc.c
@@ -63,3 +63,4 @@ grecs_line_acc_grow(const char *text, size_t len)
void
-grecs_line_acc_grow_unescape_last(char *text, size_t len, grecs_locus_t *loc)
+grecs_line_acc_grow_unescape_last(char *text, size_t len,
+ grecs_locus_t const *loc)
{

Return to:

Send suggestions and report system problems to the System administrator.