summaryrefslogtreecommitdiff
path: root/usr/src/cmd/csh/sh.debug.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.debug.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.debug.c')
-rw-r--r--usr/src/cmd/csh/sh.debug.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/src/cmd/csh/sh.debug.c b/usr/src/cmd/csh/sh.debug.c
index 379a327f93..4a442e75da 100644
--- a/usr/src/cmd/csh/sh.debug.c
+++ b/usr/src/cmd/csh/sh.debug.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1990 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -29,7 +29,8 @@ FILE *trace;
* Initialie trace file.
* Called from main.
*/
-trace_init()
+void
+trace_init(void)
{
extern char *mktemp();
char name[128];
@@ -44,6 +45,7 @@ trace_init()
* write message to trace file
*/
/*VARARGS1*/
+void
tprintf(fmt,a,b,c,d,e,f,g,h,i,j)
char *fmt;
{