aboutsummaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-06-25 16:00:50 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-06-25 16:00:50 +0000
commit245685433efa5334f781c2e9fb26caa10b2b2ff9 (patch)
treed685bbffa6b6fbdb2e131cbdb9c9f239f0c1c736 /utf8.c
parent7eff7f762927d5ca3618ca5c47741d86209c4c46 (diff)
downloadrtmux-245685433efa5334f781c2e9fb26caa10b2b2ff9.tar.gz
rtmux-245685433efa5334f781c2e9fb26caa10b2b2ff9.tar.bz2
rtmux-245685433efa5334f781c2e9fb26caa10b2b2ff9.zip
Constify utf8_width() function argument.
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utf8.c b/utf8.c
index 30f9b6e5..268d8e57 100644
--- a/utf8.c
+++ b/utf8.c
@@ -1,4 +1,4 @@
-/* $Id: utf8.c,v 1.6 2009-05-04 17:58:27 nicm Exp $ */
+/* $OpenBSD: utf8.c,v 1.2 2009/06/24 05:35:07 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -297,7 +297,7 @@ utf8_split(u_int uvalue, u_char *data)
}
int
-utf8_width(u_char *udata)
+utf8_width(const u_char *udata)
{
struct utf8_width_entry *item;
u_int uvalue;