-/* $NetBSD: list.c,v 1.6 2003/08/07 09:36:54 agc Exp $ */
+/* $NetBSD: list.c,v 1.9 2015/06/19 06:02:31 dholland Exp $ */
/*-
* Copyright (c) 1990, 1993
#if 0
static char sccsid[] = "@(#)list.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: list.c,v 1.6 2003/08/07 09:36:54 agc Exp $");
+__RCSID("$NetBSD: list.c,v 1.9 2015/06/19 06:02:31 dholland Exp $");
#endif
#endif /* not lint */
-#include "include.h"
+#include <stdlib.h>
-PLANE *
-newplane()
+#include "def.h"
+#include "struct.h"
+#include "extern.h"
+#include "tunable.h"
+
+PLANE *
+newplane(void)
{
- return ((PLANE *) calloc(1, sizeof (PLANE)));
+ return calloc(1, sizeof (PLANE));
}
void
-append(l, p)
- LIST *l;
- PLANE *p;
+append(LIST *l, PLANE *p)
{
PLANE *q = NULL, *r = NULL;
}
void
-delete(l, p)
- LIST *l;
- PLANE *p;
+delete(LIST *l, PLANE *p)
{
if (l->head == NULL)
loser(p, "deleted a non-existent plane! Get help!");