* 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
[] = "@(#)lstReplace.c 8.2 (Berkeley) %G%";
* Replace the datum in a node with a new datum
*-----------------------------------------------------------------------
* Replace the datum in the given node with the new datum
* The datum field fo the node is altered.
*-----------------------------------------------------------------------
((ListNode
) ln
)->datum
= d
;