diff options
Diffstat (limited to 'usr/src/cmd/csh/sh.tchar.c')
-rw-r--r-- | usr/src/cmd/csh/sh.tchar.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/cmd/csh/sh.tchar.c b/usr/src/cmd/csh/sh.tchar.c index 9c75f0e72d..6672e36f1d 100644 --- a/usr/src/cmd/csh/sh.tchar.c +++ b/usr/src/cmd/csh/sh.tchar.c @@ -1,5 +1,5 @@ /* - * Copyright 2000 Sun Microsystems, Inc. All rights reserved. + * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -301,6 +301,7 @@ rindex_(tchar *sp, tchar c) /* Additional misc functions. */ /* Calculate the display width of a string. */ +int tswidth(tchar *ts) { #ifdef MBCHAR @@ -844,7 +845,7 @@ atoi_(tchar *str) tchar * simple(tchar *s) { - register tchar *sname = s; + tchar *sname = s; while (1) { if (any('/', sname)) { |