* Europagate, 1995
*
* $Log: cclqual.c,v $
- * Revision 1.2 1995-09-27 15:02:44 quinn
+ * Revision 1.4 1995-11-01 13:54:21 quinn
+ * Minor adjustments
+ *
+ * Revision 1.3 1995/09/29 17:12:00 quinn
+ * Smallish
+ *
+ * Revision 1.2 1995/09/27 15:02:44 quinn
* Modified function heads & prototypes.
*
* Revision 1.1 1995/04/10 10:28:20 quinn
struct ccl_qualifier *list;
};
-void MDF ccl_qual_add (CCL_bibset b, const char *name, int no, int *pairs)
+void ccl_qual_add (CCL_bibset b, const char *name, int no, int *pairs)
{
struct ccl_qualifier *q;
struct ccl_rpn_attr **attrp;
break;
if (!q)
{
- struct ccl_qualifier *new_qual = malloc (sizeof(*new_qual));
+ struct ccl_qualifier *new_qual = xmalloc (sizeof(*new_qual));
assert (new_qual);
new_qual->next = b->list;
b->list = new_qual;
- new_qual->name = malloc (strlen(name)+1);
+ new_qual->name = xmalloc (strlen(name)+1);
assert (new_qual->name);
strcpy (new_qual->name, name);
attrp = &new_qual->attr_list;
{
struct ccl_rpn_attr *attr;
- attr = malloc (sizeof(*attr));
+ attr = xmalloc (sizeof(*attr));
assert (attr);
attr->type = *pairs++;
attr->value = *pairs++;
*attrp = NULL;
}
-CCL_bibset MDF ccl_qual_mk (void)
+CCL_bibset ccl_qual_mk (void)
{
- CCL_bibset b = malloc (sizeof(*b));
+ CCL_bibset b = xmalloc (sizeof(*b));
assert (b);
b->list = NULL;
return b;
}
-void MDF ccl_qual_rm (CCL_bibset *b)
+void ccl_qual_rm (CCL_bibset *b)
{
assert (*b);
*b = NULL;
}
-struct ccl_rpn_attr MDF *ccl_qual_search (CCL_bibset b, const char *name, int len)
+struct ccl_rpn_attr *ccl_qual_search (CCL_bibset b, const char *name, int len)
{
struct ccl_qualifier *q;
return NULL;
}
-void MDF ccl_qual_file (CCL_bibset bibset, FILE *inf)
+void ccl_qual_file (CCL_bibset bibset, FILE *inf)
{
char line[256];
char *cp;