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

    r9 r24  
    3434 * SUCH DAMAGE.
    3535 *
    36  * @(#)lstOpen.c        8.1 (Berkeley) 6/6/93
     36 * $FreeBSD: src/usr.bin/make/lst.lib/lstOpen.c,v 1.5 1999/08/28 01:03:56 peter Exp $
    3737 */
    3838
    3939#ifndef lint
    40 #include <sys/cdefs.h>
    41 __FBSDID("$FreeBSD: src/usr.bin/make/lst.lib/lstOpen.c,v 1.8 2002/10/09 02:00:22 jmallett Exp $");
     40static char sccsid[] = "@(#)lstOpen.c   8.1 (Berkeley) 6/6/93";
    4241#endif /* not lint */
    4342
     
    6362 *
    6463 * Side Effects:
    65  *      isOpen is set TRUE and curPtr is set to NULL so the
     64 *      isOpen is set TRUE and curPtr is set to NilListNode so the
    6665 *      other sequential functions no it was just opened and can choose
    6766 *      the first element accessed based on this.
     
    7877        ((List) l)->isOpen = TRUE;
    7978        ((List) l)->atEnd = LstIsEmpty (l) ? Head : Unknown;
    80         ((List) l)->curPtr = NULL;
     79        ((List) l)->curPtr = NilListNode;
    8180
    8281        return (SUCCESS);
Note: See TracChangeset for help on using the changeset viewer.