[exim-cvs] Prototype for strchrnul() on platforms lacking on…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Exim Git Commits Mailing List
Data:  
Para: exim-cvs
Asunto: [exim-cvs] Prototype for strchrnul() on platforms lacking one (OpenBSD)
Gitweb: https://git.exim.org/exim.git/commitdiff/ede1cf66682ae379346aa4681c5f6294f2b7e6a5
Commit:     ede1cf66682ae379346aa4681c5f6294f2b7e6a5
Parent:     221f7d1e232ed26b674325adcfd3e30e3e2cf857
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Tue Aug 20 15:04:28 2024 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Tue Aug 20 15:06:51 2024 +0100


    Prototype for strchrnul() on platforms lacking one (OpenBSD)
---
 src/src/osfunctions.h | 4 ++++
 1 file changed, 4 insertions(+)


diff --git a/src/src/osfunctions.h b/src/src/osfunctions.h
index f88210943..ec064bee6 100644
--- a/src/src/osfunctions.h
+++ b/src/src/osfunctions.h
@@ -41,4 +41,8 @@ extern int           os_unsetenv(const uschar *);
 extern uschar       *os_getcwd(uschar *, size_t);
 #endif


+#ifndef EXIM_HAVE_STRCHRNUL
+extern char * strchrnul(const char *, int);
+#endif
+
/* End of osfunctions.h */

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-cvs.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-cvs-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/