xref: /illumos-gate/usr/src/lib/krb5/dyn/dyn_append.c (revision 7c478bd9)
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 DynAppend().
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 /*
20  * Made obsolete by DynInsert, now just a convenience function.
21  */
DynAppend(obj,els,num)22 int DynAppend(obj, els, num)
23    DynObjectP obj;
24    DynPtr els;
25    int num;
26 {
27      return DynInsert(obj, DynSize(obj), els, num);
28 }
29