aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/lst.lib/lstDatum.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bmake/lst.lib/lstDatum.c')
-rw-r--r--contrib/bmake/lst.lib/lstDatum.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/bmake/lst.lib/lstDatum.c b/contrib/bmake/lst.lib/lstDatum.c
index c8ccb558f3dc..6e2d9ad0e73b 100644
--- a/contrib/bmake/lst.lib/lstDatum.c
+++ b/contrib/bmake/lst.lib/lstDatum.c
@@ -1,4 +1,4 @@
-/* $NetBSD: lstDatum.c,v 1.14 2020/07/03 08:37:56 rillig Exp $ */
+/* $NetBSD: lstDatum.c,v 1.13 2009/01/23 21:26:30 dsl Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -33,14 +33,14 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: lstDatum.c,v 1.14 2020/07/03 08:37:56 rillig Exp $";
+static char rcsid[] = "$NetBSD: lstDatum.c,v 1.13 2009/01/23 21:26:30 dsl Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)lstDatum.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: lstDatum.c,v 1.14 2020/07/03 08:37:56 rillig Exp $");
+__RCSID("$NetBSD: lstDatum.c,v 1.13 2009/01/23 21:26:30 dsl Exp $");
#endif
#endif /* not lint */
#endif
@@ -69,8 +69,9 @@ void *
Lst_Datum(LstNode ln)
{
if (ln != NULL) {
- return ln->datum;
+ return ((ln)->datum);
} else {
return NULL;
}
}
+