home *** CD-ROM | disk | FTP | other *** search
- #include "include.h"
- #include <malloc.h>
- #include <stdlib.h>
- #include <stdio.h>
-
- struct segprf *preqseg(n)
- unsigned int n;
- {
- long *lalloc;
- n+=28;
- lalloc=(long*)calloc(1,n);
- return (lalloc);
- }
- short prelseg(segpt)
- struct segprf *segpt;
- {
- struct segprf *next;
- if (segpt->link==NULL)
- {free(segpt);
- return;
- }
- while (segpt->link!=NULL)
- {next=segpt->link;
- free(segpt);
- segpt=next;
- }
- free (segpt);
- return;
- }
- struct rqb *preqrq(n)
- unsigned int n;
- {
- long *lalloc;
- lalloc=(long*)calloc (1,16);
- return (lalloc);
- }/*preqrq*/
- int prelrq(wrqb)
- struct rqb *wrqb;
- {
- free (wrqb);
- return;
- }
- /************************************************************************/
-