upgraded to the latest NetBSD version
[unix-history] / usr / src / usr.bin / make / lst.lib / lstForEach.c
index caeeba3..72dc1f7 100644 (file)
@@ -1,6 +1,6 @@
 /*
 /*
- * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1988, 1989, 1990, 1993
+ *     The Regents of the University of California.  All rights reserved.
  *
  * This code is derived from software contributed to Berkeley by
  * Adam de Boor.
  *
  * This code is derived from software contributed to Berkeley by
  * Adam de Boor.
@@ -9,7 +9,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)lstForEach.c       5.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)lstForEach.c       8.2 (Berkeley) %G%";
 #endif /* not lint */
 
 /*-
 #endif /* not lint */
 
 /*-
@@ -38,7 +38,7 @@ static char sccsid[] = "@(#)lstForEach.c      5.3 (Berkeley) %G%";
 void
 Lst_ForEach (l, proc, d)
     Lst                        l;
 void
 Lst_ForEach (l, proc, d)
     Lst                        l;
-    register int       (*proc)();
+    register int       (*proc) __P((ClientData, ClientData));
     register ClientData        d;
 {
     Lst_ForEachFrom(l, Lst_First(l), proc, d);
     register ClientData        d;
 {
     Lst_ForEachFrom(l, Lst_First(l), proc, d);