8777 krb5/plugins/kdb: variable set but not used
[unleashed.git] / usr / src / lib / krb5 / dyn / dyn_debug.c
blob75e85de8b13272b232f3d4cdbeb15a90d794a7a3
1 #pragma ident "%Z%%M% %I% %E% SMI"
3 /*
4 * This file is part of libdyn.a, the C Dynamic Object library. It
5 * contains the source code for the function DynDebug().
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.
11 * Written by Barr3y Jaspan, Student Information Processing Board (SIPB)
12 * and MIT-Project Athena, 1989.
15 #include <stdio.h>
17 #include "dynP.h"
19 int DynDebug(obj, state)
20 DynObjectP obj;
21 int state;
23 obj->debug = state;
25 fprintf(stderr, "dyn: debug: Debug state set to %d.\n", state);
26 return DYN_OK;