git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: use pkg-config for i18n
[exim.git]
/
src
/
src
/
osfunctions.h
diff --git
a/src/src/osfunctions.h
b/src/src/osfunctions.h
index a8e87fc3e433928c0ff7be5387b64eba1cfe6d5e..ec064bee6595b458eb0740d40f2aeb388cefd89e 100644
(file)
--- a/
src/src/osfunctions.h
+++ b/
src/src/osfunctions.h
@@
-3,7
+3,9
@@
*************************************************/
/* Copyright (c) University of Cambridge 1995 - 2016 */
*************************************************/
/* Copyright (c) University of Cambridge 1995 - 2016 */
+/* Copyright (c) The Exim Maintainers 2020 */
/* See the file NOTICE for conditions of use and distribution. */
/* See the file NOTICE for conditions of use and distribution. */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Prototypes for os-specific functions. For utilities, we don't need the one
that uses a type that isn't defined for them. */
/* Prototypes for os-specific functions. For utilities, we don't need the one
that uses a type that isn't defined for them. */
@@
-33,10
+35,14
@@
extern const char *os_strexit(int); /* char to match os_strsignal */
extern const char *os_strsignal(int); /* char to match strsignal in some OS */
#endif
#ifndef os_unsetenv
extern const char *os_strsignal(int); /* char to match strsignal in some OS */
#endif
#ifndef os_unsetenv
-extern int os_unsetenv(const char *);
+extern int os_unsetenv(const
us
char *);
#endif
#ifndef os_getcwd
#endif
#ifndef os_getcwd
-extern char* os_getcwd(char *, size_t);
+extern uschar *os_getcwd(uschar *, size_t);
+#endif
+
+#ifndef EXIM_HAVE_STRCHRNUL
+extern char * strchrnul(const char *, int);
#endif
/* End of osfunctions.h */
#endif
/* End of osfunctions.h */