1 #pragma ident "%Z%%M% %I% %E% SMI"
2
3 /*
4 * This file is part of libdyn.a, the C Dynamic Object library. It
5 * contains the source code for the function DynDebug().
6 *
7 * There are no restrictions on this code; however, if you make any
8 * changes, I request that you document them so that I do not get
9 * credit or blame for your modifications.
10 *
11 * Written by Barr3y Jaspan, Student Information Processing Board (SIPB)
12 * and MIT-Project Athena, 1989.
13 */
14
15 #include <stdio.h>
16
17 #include "dynP.h"
18
DynDebug(obj,state)19 int DynDebug(obj, state)
20 DynObjectP obj;
21 int state;
22 {
23 obj->debug = state;
24
25 fprintf(stderr, "dyn: debug: Debug state set to %d.\n", state);
26 return DYN_OK;
27 }
28