summaryrefslogtreecommitdiff
path: root/sys/src/cmd/unix/u9fs/plan9.h
diff options
context:
space:
mode:
authorftrvxmtrx <ftrvxmtrx@gmail.com>2013-05-04 02:43:27 +0200
committerftrvxmtrx <ftrvxmtrx@gmail.com>2013-05-04 02:43:27 +0200
commitf33e22c444fd76db0c6959ee2f148852dde40c3d (patch)
tree4792a016712df04c574b6d73c236da48fe15c5a5 /sys/src/cmd/unix/u9fs/plan9.h
parent9de8d61fe6a08ec9bb021bf13fcd6536b797d1ea (diff)
u9fs: make it compile
Diffstat (limited to 'sys/src/cmd/unix/u9fs/plan9.h')
-rw-r--r--sys/src/cmd/unix/u9fs/plan9.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/src/cmd/unix/u9fs/plan9.h b/sys/src/cmd/unix/u9fs/plan9.h
index caecb8ed7..942afdc41 100644
--- a/sys/src/cmd/unix/u9fs/plan9.h
+++ b/sys/src/cmd/unix/u9fs/plan9.h
@@ -97,7 +97,8 @@ enum
UTFmax = 3, /* maximum bytes per rune */
Runesync = 0x80, /* cannot represent part of a UTF sequence (<) */
Runeself = 0x80, /* rune and UTF sequences are the same (<) */
- Runeerror = 0x80 /* decoding error in UTF */
+ Runeerror = 0x80, /* decoding error in UTF */
+ Runemax = 0xFFFF, /* 16 bit rune */
};
extern int runetochar(char*, Rune*);