summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/lst.lib/lstDupl.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/lst.lib/lstDupl.c')
-rw-r--r--usr.bin/make/lst.lib/lstDupl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/make/lst.lib/lstDupl.c b/usr.bin/make/lst.lib/lstDupl.c
index 0c3d750..4c1842d 100644
--- a/usr.bin/make/lst.lib/lstDupl.c
+++ b/usr.bin/make/lst.lib/lstDupl.c
@@ -47,7 +47,8 @@ __FBSDID("$FreeBSD$");
* elements.
*/
-#include "lstInt.h"
+#include "make.h"
+#include "lst.h"
/*-
*-----------------------------------------------------------------------
@@ -67,13 +68,12 @@ __FBSDID("$FreeBSD$");
*-----------------------------------------------------------------------
*/
Lst
-Lst_Duplicate(Lst l, void *(*copyProc)(void *))
+Lst_Duplicate(Lst list, void *(*copyProc)(void *))
{
Lst nl;
- ListNode ln;
- List list = (List)l;
+ LstNode ln;
- if (!LstValid (l)) {
+ if (!Lst_Valid (list)) {
return (NULL);
}
OpenPOWER on IntegriCloud