summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/lst.lib/lstDatum.c
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-12-02 20:24:42 +0000
committerwill <will@FreeBSD.org>2000-12-02 20:24:42 +0000
commit65a98afaedffb34df44fe7938b9f87f8dbce1cd6 (patch)
tree9dcfaa566f6b1b0fd7a3947c238332a19dd073c2 /usr.bin/make/lst.lib/lstDatum.c
parent33a20c676da04b4c787eef9bd8f8ef901c319fee (diff)
downloadFreeBSD-src-65a98afaedffb34df44fe7938b9f87f8dbce1cd6.zip
FreeBSD-src-65a98afaedffb34df44fe7938b9f87f8dbce1cd6.tar.gz
There's also no point in #typedef'ing void/char pointers. Accordingly,
rip out ClientData/Address pointers and use standard types. Obtained from: OpenBSD
Diffstat (limited to 'usr.bin/make/lst.lib/lstDatum.c')
-rw-r--r--usr.bin/make/lst.lib/lstDatum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/lst.lib/lstDatum.c b/usr.bin/make/lst.lib/lstDatum.c
index 3d2b0cf..7a0d77c 100644
--- a/usr.bin/make/lst.lib/lstDatum.c
+++ b/usr.bin/make/lst.lib/lstDatum.c
@@ -61,14 +61,14 @@ __RCSID("$FreeBSD$");
*
*-----------------------------------------------------------------------
*/
-ClientData
+void *
Lst_Datum (ln)
LstNode ln;
{
if (ln != NULL) {
return (((ListNode)ln)->datum);
} else {
- return ((ClientData) NULL);
+ return ((void *) NULL);
}
}
OpenPOWER on IntegriCloud