+/* mergeSets - append list to sset */
+/*-----------------------------------------------------------------*/
+void
+mergeSets (set **sset, set *list)
+{
+ if (*sset == NULL) {
+ *sset = list;
+ }
+ else {
+ set *lp;
+
+ for (lp = *sset; lp->next; lp = lp->next)
+ ;
+ lp->next = list;
+ }
+}
+
+/*-----------------------------------------------------------------*/
+/* unionSets - will return the union of the two lists */