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/lstFirst.c

    r9 r24  
    3434 * SUCH DAMAGE.
    3535 *
    36  * @(#)lstFirst.c       8.1 (Berkeley) 6/6/93
     36 * $FreeBSD: src/usr.bin/make/lst.lib/lstFirst.c,v 1.5 1999/08/28 01:03:51 peter Exp $
    3737 */
    3838
    3939#ifndef lint
    40 #include <sys/cdefs.h>
    41 __FBSDID("$FreeBSD: src/usr.bin/make/lst.lib/lstFirst.c,v 1.8 2002/10/09 02:00:22 jmallett Exp $");
     40static char sccsid[] = "@(#)lstFirst.c  8.1 (Berkeley) 6/6/93";
    4241#endif /* not lint */
    4342
     
    5554 *
    5655 * Results:
    57  *      The first node or NULL if the list is empty.
     56 *      The first node or NILLNODE if the list is empty.
    5857 *
    5958 * Side Effects:
     
    6766{
    6867    if (!LstValid (l) || LstIsEmpty (l)) {
    69         return (NULL);
     68        return (NILLNODE);
    7069    } else {
    7170        return ((LstNode)((List)l)->firstPtr);
Note: See TracChangeset for help on using the changeset viewer.