diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2020-06-03 12:47:34 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2020-06-03 12:47:34 +0000 |
commit | bd4aa7d676a5c7043689bcf474319080974b9575 (patch) | |
tree | 66a9fb191aee5483fef84fc831460de92a81c8fa | |
parent | 05cdd94f72d0a55997c7c610f2c080345d61870e (diff) |
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.h | 4 |
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 *); |