summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/lst.lib/lst.h
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2015-10-14 13:52:11 +0000
committerespie <espie@openbsd.org>2015-10-14 13:52:11 +0000
commit91d3b24870d0fd23ca7ec200fd08f1ce87b6954a (patch)
treea81cefee72ad2721d98afd8aa40cb5488a073eb7 /usr.bin/make/lst.lib/lst.h
parentmake sure we use stdbool.h (diff)
downloadwireguard-openbsd-91d3b24870d0fd23ca7ec200fd08f1ce87b6954a.tar.xz
wireguard-openbsd-91d3b24870d0fd23ca7ec200fd08f1ce87b6954a.zip
gc lst_ForEachNodeWhile, which isn't actually in use anywhere
Diffstat (limited to 'usr.bin/make/lst.lib/lst.h')
-rw-r--r--usr.bin/make/lst.lib/lst.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/make/lst.lib/lst.h b/usr.bin/make/lst.lib/lst.h
index fecbb438691..a05dc78781d 100644
--- a/usr.bin/make/lst.lib/lst.h
+++ b/usr.bin/make/lst.lib/lst.h
@@ -1,7 +1,7 @@
#ifndef _LST_H_
#define _LST_H_
-/* $OpenBSD: lst.h,v 1.1 2014/05/12 19:11:20 espie Exp $ */
+/* $OpenBSD: lst.h,v 1.2 2015/10/14 13:52:11 espie Exp $ */
/* $NetBSD: lst.h,v 1.7 1996/11/06 17:59:12 christos Exp $ */
/*
@@ -60,7 +60,6 @@ struct ListNode_ {
typedef void (*SimpleProc)(void *);
typedef int (*FindProc)(void *, void *);
-typedef int (*ForEachNodeWhileProc)(LstNode, void *);
typedef int (*FindProcConst)(void *, const void *);
typedef void (*ForEachProc)(void *, void *);
typedef void *(*DuplicateProc)(void *);
@@ -130,8 +129,6 @@ extern LstNode Lst_Member(Lst, void *);
extern void Lst_ForEachFrom(LstNode, ForEachProc, void *);
extern void Lst_Every(Lst, SimpleProc);
-extern void Lst_ForEachNodeWhile(Lst, ForEachNodeWhileProc, void *);
-
extern bool Lst_AddNew(Lst, void *);
/*
* for using the list as a queue