/* byte-junk.c: -*- C -*-  DESCRIPTIVE TEXT. */

/*  Copyright (c) 1996 Universal Access Inc.
    Author: E. B. Gamble Jr. (ebg@ai.mit.edu) Wed Oct 23 18:08:53 1996.  */

#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <bprintf/bprintf.h>
#include <xmalloc/xmalloc.h>


static void
bc_lap_queue_append_3 (bc_lap_queue_t *queue_1,
		       bc_lap_queue_t *queue_2,
		       bc_lap_queue_t *queue_3)
{
  queue_1->tail->next = queue_2->head;
  queue_2->tail->next = queue_3->head;
  queue_1->tail = queue_3->tail;
}

static void
bc_lap_queue_append_4 (bc_lap_queue_t *queue_1,
		       bc_lap_queue_t *queue_2,
		       bc_lap_queue_t *queue_3,
		       bc_lap_queue_t *queue_4)
{
  queue_1->tail->next = queue_2->head;
  queue_2->tail->next = queue_3->head;
  queue_3->tail->next = queue_4->head;
  queue_1->tail = queue_4->tail;
}
