show.h revision 127958
1163302Sru/*- 2153761Swollman * Copyright (c) 1995 364499Swollman * The Regents of the University of California. All rights reserved. 42742Swollman * 52742Swollman * Redistribution and use in source and binary forms, with or without 62742Swollman * modification, are permitted provided that the following conditions 72742Swollman * are met: 8158421Swollman * 1. Redistributions of source code must retain the above copyright 92742Swollman * notice, this list of conditions and the following disclaimer. 102742Swollman * 2. Redistributions in binary form must reproduce the above copyright 11158421Swollman * notice, this list of conditions and the following disclaimer in the 12158421Swollman * documentation and/or other materials provided with the distribution. 132742Swollman * 4. Neither the name of the University nor the names of its contributors 1486222Swollman * may be used to endorse or promote products derived from this software 1520094Swollman * without specific prior written permission. 1620094Swollman * 1720094Swollman * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1820094Swollman * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1920094Swollman * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20158421Swollman * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 21158421Swollman * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2220094Swollman * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 232742Swollman * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 242742Swollman * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 252742Swollman * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 262742Swollman * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 272742Swollman * SUCH DAMAGE. 2858787Sru * 292742Swollman * @(#)show.h 1.1 (Berkeley) 5/4/95 302742Swollman * $FreeBSD: head/bin/sh/show.h 127958 2004-04-06 20:06:54Z markm $ 312742Swollman */ 322742Swollman 33114173Swollmanvoid showtree(union node *); 34114173Swollman#ifdef DEBUG 35114173Swollmanvoid sh_trace(const char *, ...) __printflike(1, 2); 36114173Swollmanvoid trargs(char **); 37114173Swollmanvoid trputc(int); 38114173Swollmanvoid trputs(char *); 39114173Swollmanvoid opentrace(void); 40114173Swollman#endif 41114173Swollman