diff options
| author | Simon Tatham <anakin@pobox.com> | 2004-04-09 18:16:43 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2004-04-09 18:16:43 +0000 |
| commit | dceee0294f3814dd97c3c273200011977a8ecca6 (patch) | |
| tree | cab42931644ddfa8fe63675c5c2dc26fb06cc98d /ustring.c | |
| parent | 0e64c9d347e230cb338514b7f5d9c29bf6940128 (diff) | |
| download | halibut-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |