Ignore:
Timestamp:
Nov 26, 2002, 10:24:54 PM (23 years ago)
Author:
bird
Message:

Import of RELENG_4_7_0_RELEASE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/FREEBSD/src/kmk/lst.lib/lstDatum.c

    r9 r24  
    3434 * SUCH DAMAGE.
    3535 *
    36  * @(#)lstDatum.c       8.1 (Berkeley) 6/6/93
     36 * $FreeBSD: src/usr.bin/make/lst.lib/lstDatum.c,v 1.5 1999/08/28 01:03:48 peter Exp $
    3737 */
    3838
    3939#ifndef lint
    40 #include <sys/cdefs.h>
    41 __FBSDID("$FreeBSD: src/usr.bin/make/lst.lib/lstDatum.c,v 1.9 2002/10/09 02:00:22 jmallett Exp $");
     40static char sccsid[] = "@(#)lstDatum.c  8.1 (Berkeley) 6/6/93";
    4241#endif /* not lint */
    4342
     
    5554 *
    5655 * Results:
    57  *      The datum or (ick!) NULL if the node is invalid.
     56 *      The datum or (ick!) NIL if the node is invalid.
    5857 *
    5958 * Side Effects:
     
    6261 *-----------------------------------------------------------------------
    6362 */
    64 void *
     63ClientData
    6564Lst_Datum (ln)
    6665    LstNode     ln;
    6766{
    68     if (ln != NULL) {
     67    if (ln != NILLNODE) {
    6968        return (((ListNode)ln)->datum);
    7069    } else {
    71         return ((void *) NULL);
     70        return ((ClientData) NIL);
    7271    }
    7372}
Note: See TracChangeset for help on using the changeset viewer.