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] --- ustring.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ustring.c') diff --git a/ustring.c b/ustring.c index c4af519..51c279b 100644 --- a/ustring.c +++ b/ustring.c @@ -78,7 +78,7 @@ wchar_t *ufroma_dup(char *s) { return buf; } -int ustrlen(wchar_t *s) { +int ustrlen(wchar_t const *s) { int len = 0; while (*s++) len++; return len; @@ -88,7 +88,7 @@ wchar_t *uadv(wchar_t *s) { return s + 1 + ustrlen(s); } -wchar_t *ustrcpy(wchar_t *dest, wchar_t *source) { +wchar_t *ustrcpy(wchar_t *dest, wchar_t const *source) { wchar_t *ret = dest; do { *dest++ = *source; -- cgit v1.1