xref: /illumos-gate/usr/src/lib/krb5/dyn/dyn_append.c (revision 1da57d55)
1*7c478bd9Sstevel@tonic-gate /*
2*7c478bd9Sstevel@tonic-gate  * This file is part of libdyn.a, the C Dynamic Object library.  It
3*7c478bd9Sstevel@tonic-gate  * contains the source code for the function DynAppend().
4*7c478bd9Sstevel@tonic-gate  *
5*7c478bd9Sstevel@tonic-gate  * There are no restrictions on this code; however, if you make any
6*7c478bd9Sstevel@tonic-gate  * changes, I request that you document them so that I do not get
7*7c478bd9Sstevel@tonic-gate  * credit or blame for your modifications.
8*7c478bd9Sstevel@tonic-gate  *
9*7c478bd9Sstevel@tonic-gate  * Written by Barr3y Jaspan, Student Information Processing Board (SIPB)
10*7c478bd9Sstevel@tonic-gate  * and MIT-Project Athena, 1989.
11*7c478bd9Sstevel@tonic-gate  */
12*7c478bd9Sstevel@tonic-gate 
13*7c478bd9Sstevel@tonic-gate #include <stdio.h>
14*7c478bd9Sstevel@tonic-gate 
15*7c478bd9Sstevel@tonic-gate #include "dynP.h"
16*7c478bd9Sstevel@tonic-gate 
17*7c478bd9Sstevel@tonic-gate /*
18*7c478bd9Sstevel@tonic-gate  * Made obsolete by DynInsert, now just a convenience function.
19*7c478bd9Sstevel@tonic-gate  */
DynAppend(obj,els,num)20*7c478bd9Sstevel@tonic-gate int DynAppend(obj, els, num)
21*7c478bd9Sstevel@tonic-gate    DynObjectP obj;
22*7c478bd9Sstevel@tonic-gate    DynPtr els;
23*7c478bd9Sstevel@tonic-gate    int num;
24*7c478bd9Sstevel@tonic-gate {
25*7c478bd9Sstevel@tonic-gate      return DynInsert(obj, DynSize(obj), els, num);
26*7c478bd9Sstevel@tonic-gate }
27