X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/f3a6b42d32978a63bceba5cf27455b6b8cef24f5..e89d95f1909c0972b0e854ae05f50246f4d727d6:/src/src/exim_dbutil.c diff --git a/src/src/exim_dbutil.c b/src/src/exim_dbutil.c index 4719e8beb..5c7b6650e 100644 --- a/src/src/exim_dbutil.c +++ b/src/src/exim_dbutil.c @@ -3,6 +3,7 @@ *************************************************/ /* Copyright (c) University of Cambridge 1995 - 2018 */ +/* Copyright (c) The Exim Maintainers 2020 */ /* See the file NOTICE for conditions of use and distribution. */ @@ -46,6 +47,12 @@ uschar *spool_directory; /******************************************************************************/ /* dummies needed by Solaris build */ +void +millisleep(int msec) +{} +uschar * +readconf_printtime(int t) +{ return NULL; } gstring * string_vformat_trc(gstring * g, const uschar * func, unsigned line, unsigned size_limit, unsigned flags, const char *format, va_list ap) @@ -53,8 +60,15 @@ string_vformat_trc(gstring * g, const uschar * func, unsigned line, uschar * string_sprintf_trc(const char * fmt, const uschar * func, unsigned line, ...) { return NULL; } -extern BOOL split_spool_directory; -extern uschar * queue_name; +BOOL +string_format_trc(uschar * buf, int len, const uschar * func, unsigned line, + const char * fmt, ...) +{ return FALSE; } + +struct global_flags f; +unsigned int log_selector[1]; +uschar * queue_name; +BOOL split_spool_directory; /******************************************************************************/ @@ -323,7 +337,7 @@ if (asprintf(CSS &filename, "%s/%s", dirname, name) < 0) return NULL; #else filename = string_sprintf("%s/%s", dirname, name); #endif -EXIM_DBOPEN(filename, dirname, flags, 0, &(dbblock->dbptr)); +EXIM_DBOPEN(filename, dirname, flags, 0, &dbblock->dbptr); if (!dbblock->dbptr) {