summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/lst.lib/lstDupl.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/lstDupl.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/lstDupl.c')
-rw-r--r--usr.bin/make/lst.lib/lstDupl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/make/lst.lib/lstDupl.c b/usr.bin/make/lst.lib/lstDupl.c
index 6d0665bb..cf69388 100644
--- a/usr.bin/make/lst.lib/lstDupl.c
+++ b/usr.bin/make/lst.lib/lstDupl.c
@@ -52,7 +52,7 @@ __RCSID("$FreeBSD$");
/*-
*-----------------------------------------------------------------------
* Lst_Duplicate --
- * Duplicate an entire list. If a function to copy a ClientData is
+ * Duplicate an entire list. If a function to copy a void * is
* given, the individual client elements will be duplicated as well.
*
* Results:
@@ -65,8 +65,8 @@ __RCSID("$FreeBSD$");
Lst
Lst_Duplicate (l, copyProc)
Lst l; /* the list to duplicate */
- /* A function to duplicate each ClientData */
- ClientData (*copyProc) __P((ClientData));
+ /* A function to duplicate each void * */
+ void * (*copyProc) __P((void *));
{
register Lst nl;
register ListNode ln;
OpenPOWER on IntegriCloud