diff options
author | will <will@FreeBSD.org> | 2000-12-02 20:24:42 +0000 |
---|---|---|
committer | will <will@FreeBSD.org> | 2000-12-02 20:24:42 +0000 |
commit | 65a98afaedffb34df44fe7938b9f87f8dbce1cd6 (patch) | |
tree | 9dcfaa566f6b1b0fd7a3947c238332a19dd073c2 /usr.bin/make/lst.lib/lstDatum.c | |
parent | 33a20c676da04b4c787eef9bd8f8ef901c319fee (diff) | |
download | FreeBSD-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.c | 4 |
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); } } |