Deleted Added
full compact
db_output.c (22975) db_output.c (24490)
1/*
2 * Mach Operating System
3 * Copyright (c) 1991,1990 Carnegie Mellon University
4 * All Rights Reserved.
5 *
6 * Permission to use, copy, modify and distribute this software and its
7 * documentation is hereby granted, provided that both the copyright
8 * notice and this permission notice appear in all copies of the

--- 9 unchanged lines hidden (view full) ---

18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
19 * School of Computer Science
20 * Carnegie Mellon University
21 * Pittsburgh PA 15213-3890
22 *
23 * any improvements or extensions that they make and grant Carnegie the
24 * rights to redistribute these changes.
25 *
1/*
2 * Mach Operating System
3 * Copyright (c) 1991,1990 Carnegie Mellon University
4 * All Rights Reserved.
5 *
6 * Permission to use, copy, modify and distribute this software and its
7 * documentation is hereby granted, provided that both the copyright
8 * notice and this permission notice appear in all copies of the

--- 9 unchanged lines hidden (view full) ---

18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
19 * School of Computer Science
20 * Carnegie Mellon University
21 * Pittsburgh PA 15213-3890
22 *
23 * any improvements or extensions that they make and grant Carnegie the
24 * rights to redistribute these changes.
25 *
26 * $Id$
26 * $Id: db_output.c,v 1.21 1997/02/22 09:28:26 peter Exp $
27 */
28
29/*
30 * Author: David B. Golub, Carnegie Mellon University
31 * Date: 7/90
32 */
33
34/*

--- 111 unchanged lines hidden (view full) ---

146{
147 return (db_output_position);
148}
149
150/*
151 * Printing
152 */
153void
27 */
28
29/*
30 * Author: David B. Golub, Carnegie Mellon University
31 * Date: 7/90
32 */
33
34/*

--- 111 unchanged lines hidden (view full) ---

146{
147 return (db_output_position);
148}
149
150/*
151 * Printing
152 */
153void
154#if __STDC__
154db_printf(const char *fmt, ...)
155db_printf(const char *fmt, ...)
156#else
157db_printf(fmt)
158 const char *fmt;
159#endif
155{
156 va_list listp;
157
158 va_start(listp, fmt);
159 kvprintf (fmt, db_putchar, NULL, db_radix, listp);
160 va_end(listp);
161}
162
163int db_indent;
164
165void
160{
161 va_list listp;
162
163 va_start(listp, fmt);
164 kvprintf (fmt, db_putchar, NULL, db_radix, listp);
165 va_end(listp);
166}
167
168int db_indent;
169
170void
171#if __STDC__
166db_iprintf(const char *fmt,...)
172db_iprintf(const char *fmt,...)
173#else
174db_iprintf(fmt)
175 const char *fmt;
176#endif
167{
168 register int i;
169 va_list listp;
170
171 for (i = db_indent; i >= 8; i -= 8)
172 db_printf("\t");
173 while (--i >= 0)
174 db_printf(" ");

--- 14 unchanged lines hidden ---
177{
178 register int i;
179 va_list listp;
180
181 for (i = db_indent; i >= 8; i -= 8)
182 db_printf("\t");
183 while (--i >= 0)
184 db_printf(" ");

--- 14 unchanged lines hidden ---