summaryrefslogtreecommitdiff
path: root/ustring.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-04-09 18:16:43 +0000
committerSimon Tatham <anakin@pobox.com>2004-04-09 18:16:43 +0000
commitdceee0294f3814dd97c3c273200011977a8ecca6 (patch)
treecab42931644ddfa8fe63675c5c2dc26fb06cc98d /ustring.c
parent0e64c9d347e230cb338514b7f5d9c29bf6940128 (diff)
downloadhalibut-dceee0294f3814dd97c3c273200011977a8ecca6.zip
halibut-dceee0294f3814dd97c3c273200011977a8ecca6.tar.gz
halibut-dceee0294f3814dd97c3c273200011977a8ecca6.tar.bz2
halibut-dceee0294f3814dd97c3c273200011977a8ecca6.tar.xz
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]
Diffstat (limited to 'ustring.c')
-rw-r--r--ustring.c4
1 files changed, 2 insertions, 2 deletions
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;