Changeset 24 for branches/FREEBSD/src/kmk/lst.lib/lstFirst.c
- Timestamp:
- Nov 26, 2002, 10:24:54 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/FREEBSD/src/kmk/lst.lib/lstFirst.c
r9 r24 34 34 * SUCH DAMAGE. 35 35 * 36 * @(#)lstFirst.c 8.1 (Berkeley) 6/6/9336 * $FreeBSD: src/usr.bin/make/lst.lib/lstFirst.c,v 1.5 1999/08/28 01:03:51 peter Exp $ 37 37 */ 38 38 39 39 #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 $"); 40 static char sccsid[] = "@(#)lstFirst.c 8.1 (Berkeley) 6/6/93"; 42 41 #endif /* not lint */ 43 42 … … 55 54 * 56 55 * Results: 57 * The first node or N ULLif the list is empty.56 * The first node or NILLNODE if the list is empty. 58 57 * 59 58 * Side Effects: … … 67 66 { 68 67 if (!LstValid (l) || LstIsEmpty (l)) { 69 return (N ULL);68 return (NILLNODE); 70 69 } else { 71 70 return ((LstNode)((List)l)->firstPtr);
Note:
See TracChangeset
for help on using the changeset viewer.