* Copyright (c) 1988, 1989, 1990, 1993
* The Regents of the University of California. All rights reserved.
* This code is derived from software contributed to Berkeley by
* %sccs.include.redist.c%
static char sccsid
[] = "@(#)lstAtFront.c 8.1 (Berkeley) %G%";
* Add a node at the front of the list
*-----------------------------------------------------------------------
* Place a piece of data at the front of a list
* A new ListNode is created and stuck at the front of the list.
* hence, firstPtr (and possible lastPtr) in the list are altered.
*-----------------------------------------------------------------------
return (Lst_Insert (l
, front
, d
));