summaryrefslogtreecommitdiffstats
path: root/bin/sh/show.h
diff options
context:
space:
mode:
authorcracauer <cracauer@FreeBSD.org>2000-04-20 11:39:11 +0000
committercracauer <cracauer@FreeBSD.org>2000-04-20 11:39:11 +0000
commit0214561bf12b92f26daa81ca0fd0882c5f838aaa (patch)
tree6c4c546d31ae1bf10a4143a80aab9879fec36e7d /bin/sh/show.h
parent0732301c64cba8e39cfced1dd71aa44e4ff30b0e (diff)
downloadFreeBSD-src-0214561bf12b92f26daa81ca0fd0882c5f838aaa.zip
FreeBSD-src-0214561bf12b92f26daa81ca0fd0882c5f838aaa.tar.gz
Rename the trace() function (that is build only in the -DDEBUG=2
case), so that it doesn't clash with the ncurses function of the same name when linking statically with -ltermcap. The linker only complains when -static is used, and it is not clear whether this is a bug. PR: bin/18104 Submitted by: Anatoly Vorobey <mellon@pobox.com>
Diffstat (limited to 'bin/sh/show.h')
-rw-r--r--bin/sh/show.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/show.h b/bin/sh/show.h
index 1b6cbbc..837d21c 100644
--- a/bin/sh/show.h
+++ b/bin/sh/show.h
@@ -36,7 +36,7 @@
void showtree __P((union node *));
#ifdef DEBUG
-void trace __P((const char *, ...));
+void sh_trace __P((const char *, ...));
void trargs __P((char **));
void trputc __P((int));
void trputs __P((char *));
OpenPOWER on IntegriCloud