summaryrefslogtreecommitdiff
path: root/src/lib9/utf/utfrrune.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib9/utf/utfrrune.c')
-rw-r--r--src/lib9/utf/utfrrune.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib9/utf/utfrrune.c b/src/lib9/utf/utfrrune.c
index 9e28af82a..b1ea93b42 100644
--- a/src/lib9/utf/utfrrune.c
+++ b/src/lib9/utf/utfrrune.c
@@ -11,7 +11,8 @@
* REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
* OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
*/
-#include <string.h>
+#include <u.h>
+#include <libc.h>
#include "utf.h"
#include "utfdef.h"
@@ -42,5 +43,4 @@ utfrrune(const char *s, Rune c)
s1 = s;
s += c1;
}
- return 0;
}