xref: /titanic_51/usr/src/lib/krb5/dyn/dyn_initzero.c (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
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 DynInitZero().
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 
19 int DynInitzero(obj, state)
20    DynObjectP obj;
21    int state;
22 {
23      obj->initzero = state;
24 
25      if (obj->debug)
26 	  fprintf(stderr, "dyn: initzero: initzero set to %d.\n", state);
27      return DYN_OK;
28 }
29