summaryrefslogtreecommitdiff
path: root/usr/src/cmd/csh/sh.tchar.c
diff options
context:
space:
mode:
authormuffin <none@none>2005-08-16 15:17:39 -0700
committermuffin <none@none>2005-08-16 15:17:39 -0700
commit6c02b4a4b46fecc2fa6bf1ab6b5e3255ad1d0767 (patch)
tree24ed65b701d7f36e2c718a6008c5e878675c6e50 /usr/src/cmd/csh/sh.tchar.c
parent27423228d6fbc16bf4059248b329a127c31147ef (diff)
downloadillumos-joyent-6c02b4a4b46fecc2fa6bf1ab6b5e3255ad1d0767.tar.gz
6268990 cmd/csh and gcc don't get along
--HG-- rename : usr/src/cmd/csh/stubs.c => deleted_files/usr/src/cmd/csh/stubs.c
Diffstat (limited to 'usr/src/cmd/csh/sh.tchar.c')
-rw-r--r--usr/src/cmd/csh/sh.tchar.c5
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)) {