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