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/lstDeQueue.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/lstDeQueue.c')
-rw-r--r-- | usr.bin/make/lst.lib/lstDeQueue.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/make/lst.lib/lstDeQueue.c b/usr.bin/make/lst.lib/lstDeQueue.c index b004dee..e8194f3 100644 --- a/usr.bin/make/lst.lib/lstDeQueue.c +++ b/usr.bin/make/lst.lib/lstDeQueue.c @@ -62,21 +62,21 @@ __RCSID("$FreeBSD$"); * *----------------------------------------------------------------------- */ -ClientData +void * Lst_DeQueue (l) Lst l; { - ClientData rd; + void * rd; register ListNode tln; tln = (ListNode) Lst_First (l); if (tln == NULL) { - return ((ClientData) NULL); + return ((void *) NULL); } rd = tln->datum; if (Lst_Remove (l, (LstNode)tln) == FAILURE) { - return ((ClientData) NULL); + return ((void *) NULL); } else { return (rd); } |