diff options
author | muffin <none@none> | 2005-08-16 15:17:39 -0700 |
---|---|---|
committer | muffin <none@none> | 2005-08-16 15:17:39 -0700 |
commit | 6c02b4a4b46fecc2fa6bf1ab6b5e3255ad1d0767 (patch) | |
tree | 24ed65b701d7f36e2c718a6008c5e878675c6e50 /usr/src/cmd/csh/sh.print.c | |
parent | 27423228d6fbc16bf4059248b329a127c31147ef (diff) | |
download | illumos-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.print.c')
-rw-r--r-- | usr/src/cmd/csh/sh.print.c | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/usr/src/cmd/csh/sh.print.c b/usr/src/cmd/csh/sh.print.c index 29fc570a09..34cd721e93 100644 --- a/usr/src/cmd/csh/sh.print.c +++ b/usr/src/cmd/csh/sh.print.c @@ -1,5 +1,5 @@ /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -16,9 +16,11 @@ #include "sh.h" -void p2dig_ull(unsigned long long i); -void p2dig_int(int i); -void flush(); +void p2dig_ull(unsigned long long); +void p2dig_int(int); +void flush(void); +void Putchar(tchar); + /* * C Shell @@ -115,6 +117,7 @@ putbyte(int c) * character tc to some byte sequnce that represents the character * in EUC form. */ +void Putchar(tchar tc) { int n; @@ -166,8 +169,8 @@ putbyte(int c) * For single-byte character only environment, there is no * difference between Putchar() and putbyte() though. */ -Putchar(tc) - tchar tc; +void +Putchar(tchar tc) { putbyte((int)tc); } @@ -175,13 +178,13 @@ Putchar(tc) #endif /* !MBCHAR */ void -draino() +draino(void) { linp = linbuf; } void -flush() +flush(void) { int unit; int lmode; |