From dceee0294f3814dd97c3c273200011977a8ecca6 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 9 Apr 2004 18:16:43 +0000 Subject: Added an info(1) backend, which constructs .info files directly without going through the .texi source stage. A few things left to do, notably documentation, but the basics all seem to be there. [originally from svn r4047] --- misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc.c') diff --git a/misc.c b/misc.c index a54cc6c..6d5497b 100644 --- a/misc.c +++ b/misc.c @@ -62,7 +62,7 @@ void rdadd(rdstring *rs, wchar_t c) { rs->text[rs->pos++] = c; rs->text[rs->pos] = 0; } -void rdadds(rdstring *rs, wchar_t *p) { +void rdadds(rdstring *rs, wchar_t const *p) { int len = ustrlen(p); if (rs->pos >= rs->size - len) { rs->size = rs->pos + len + 128; @@ -84,7 +84,7 @@ void rdaddc(rdstringc *rs, char c) { rs->text[rs->pos++] = c; rs->text[rs->pos] = 0; } -void rdaddsc(rdstringc *rs, char *p) { +void rdaddsc(rdstringc *rs, char const *p) { int len = strlen(p); if (rs->pos >= rs->size - len) { rs->size = rs->pos + len + 128; -- cgit v1.1