summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/lst.lib/lstDeQueue.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/lstDeQueue.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/lstDeQueue.c')
-rw-r--r--usr.bin/make/lst.lib/lstDeQueue.c8
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);
}
OpenPOWER on IntegriCloud