summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2020-06-03 12:47:33 +0000
committerespie <espie@openbsd.org>2020-06-03 12:47:33 +0000
commitc78f5dc375615ac540ae703e6e11a4102f872080 (patch)
tree9baacbd26c4910b4aaca953a559ff31777e4c48c
parentInit_Sigset() isn't a prototype without the void! (diff)
downloadwireguard-openbsd-c78f5dc375615ac540ae703e6e11a4102f872080.tar.xz
wireguard-openbsd-c78f5dc375615ac540ae703e6e11a4102f872080.zip
somehow, when I used more bool, I forgot to check with WARNINGS=Yes
no reason for those types to have different return types, all compilers are slightly unhappy with incompatible function pointers (again, obvious commit, no difference in generated code)
-rw-r--r--usr.bin/make/lst.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/lst.h b/usr.bin/make/lst.h
index 5ac1fdb35c8..b7a02d7b318 100644
--- a/usr.bin/make/lst.h
+++ b/usr.bin/make/lst.h
@@ -1,7 +1,7 @@
#ifndef _LST_H_
#define _LST_H_
-/* $OpenBSD: lst.h,v 1.31 2015/10/14 13:52:11 espie Exp $ */
+/* $OpenBSD: lst.h,v 1.32 2020/06/03 12:47:33 espie Exp $ */
/* $NetBSD: lst.h,v 1.7 1996/11/06 17:59:12 christos Exp $ */
/*
@@ -60,7 +60,7 @@ struct ListNode_ {
typedef void (*SimpleProc)(void *);
typedef bool (*FindProc)(void *, void *);
-typedef int (*FindProcConst)(void *, const void *);
+typedef bool (*FindProcConst)(void *, const void *);
typedef void (*ForEachProc)(void *, void *);
typedef void *(*DuplicateProc)(void *);