Changeset 24 for branches/FREEBSD/src/kmk/lst.lib/lstDatum.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/lstDatum.c
r9 r24 34 34 * SUCH DAMAGE. 35 35 * 36 * @(#)lstDatum.c 8.1 (Berkeley) 6/6/9336 * $FreeBSD: src/usr.bin/make/lst.lib/lstDatum.c,v 1.5 1999/08/28 01:03:48 peter Exp $ 37 37 */ 38 38 39 39 #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 $"); 40 static char sccsid[] = "@(#)lstDatum.c 8.1 (Berkeley) 6/6/93"; 42 41 #endif /* not lint */ 43 42 … … 55 54 * 56 55 * Results: 57 * The datum or (ick!) N ULL if the node is invalid.56 * The datum or (ick!) NIL if the node is invalid. 58 57 * 59 58 * Side Effects: … … 62 61 *----------------------------------------------------------------------- 63 62 */ 64 void * 63 ClientData 65 64 Lst_Datum (ln) 66 65 LstNode ln; 67 66 { 68 if (ln != N ULL) {67 if (ln != NILLNODE) { 69 68 return (((ListNode)ln)->datum); 70 69 } else { 71 return (( void *) NULL);70 return ((ClientData) NIL); 72 71 } 73 72 }
Note:
See TracChangeset
for help on using the changeset viewer.