[exim-cvs] Fix build on OpenBSD

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Fix build on OpenBSD
Gitweb: https://git.exim.org/exim.git/commitdiff/237613d06f9e3b90138bef9f3d9f6401bdd378f3
Commit:     237613d06f9e3b90138bef9f3d9f6401bdd378f3
Parent:     14ca5d2ac6c3536fe189435269a302ef14e972cf
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Mon Jul 29 17:11:03 2019 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Mon Jul 29 17:11:03 2019 +0100


    Fix build on OpenBSD
---
 src/src/functions.h | 1 -
 src/src/mytypes.h   | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)


diff --git a/src/src/functions.h b/src/src/functions.h
index 6347b23..0602789 100644
--- a/src/src/functions.h
+++ b/src/src/functions.h
@@ -285,7 +285,6 @@ extern int     ip_unixsocket(const uschar *, uschar **);
 extern int     ip_streamsocket(const uschar *, uschar **, int);


 extern int     ipv6_nmtoa(int *, uschar *);
-extern BOOL    is_tainted_fn(const void *);


 extern uschar *local_part_quote(uschar *);
 extern int     log_create(uschar *);
diff --git a/src/src/mytypes.h b/src/src/mytypes.h
index f755133..37b5a9a 100644
--- a/src/src/mytypes.h
+++ b/src/src/mytypes.h
@@ -138,6 +138,7 @@ is_tainted(const void * p)
 return FALSE;


#elif defined(TAINT_CHECK_SLOW)
+extern BOOL is_tainted_fn(const void *);
return is_tainted_fn(p);

#else