xref: /freebsd/bin/sh/show.h (revision 2a4562393f80633b81c11d4f7df00548d1cc3c48)
1069428afSPeter Wemm /*-
2069428afSPeter Wemm  * Copyright (c) 1995
3069428afSPeter Wemm  *      The Regents of the University of California.  All rights reserved.
4069428afSPeter Wemm  *
5069428afSPeter Wemm  * Redistribution and use in source and binary forms, with or without
6069428afSPeter Wemm  * modification, are permitted provided that the following conditions
7069428afSPeter Wemm  * are met:
8069428afSPeter Wemm  * 1. Redistributions of source code must retain the above copyright
9069428afSPeter Wemm  *    notice, this list of conditions and the following disclaimer.
10069428afSPeter Wemm  * 2. Redistributions in binary form must reproduce the above copyright
11069428afSPeter Wemm  *    notice, this list of conditions and the following disclaimer in the
12069428afSPeter Wemm  *    documentation and/or other materials provided with the distribution.
13069428afSPeter Wemm  * 3. All advertising materials mentioning features or use of this software
14069428afSPeter Wemm  *    must display the following acknowledgement:
15069428afSPeter Wemm  *	This product includes software developed by the University of
16069428afSPeter Wemm  *	California, Berkeley and its contributors.
17069428afSPeter Wemm  * 4. Neither the name of the University nor the names of its contributors
18069428afSPeter Wemm  *    may be used to endorse or promote products derived from this software
19069428afSPeter Wemm  *    without specific prior written permission.
20069428afSPeter Wemm  *
21069428afSPeter Wemm  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
22069428afSPeter Wemm  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23069428afSPeter Wemm  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24069428afSPeter Wemm  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
25069428afSPeter Wemm  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26069428afSPeter Wemm  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27069428afSPeter Wemm  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28069428afSPeter Wemm  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29069428afSPeter Wemm  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30069428afSPeter Wemm  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31069428afSPeter Wemm  * SUCH DAMAGE.
32069428afSPeter Wemm  *
33069428afSPeter Wemm  *	@(#)show.h	1.1 (Berkeley) 5/4/95
342a456239SPeter Wemm  * $FreeBSD$
35069428afSPeter Wemm  */
36069428afSPeter Wemm 
37069428afSPeter Wemm void showtree __P((union node *));
38ab0a2172SSteve Price #ifdef DEBUG
39ab0a2172SSteve Price void trace __P((const char *, ...));
40069428afSPeter Wemm void trargs __P((char **));
4111535994SSteve Price void trputc __P((int));
4211535994SSteve Price void trputs __P((char *));
43069428afSPeter Wemm void opentrace __P((void));
44ab0a2172SSteve Price #endif
45