mdbx++: changes after codereview-1 (part 2 of 2).

Change-Id: I8e1ca134bb8c5d447895f116247dfd12fa6871f0
This commit is contained in:
Leonid Yuriev
2020-09-14 16:40:46 +03:00
parent 04b0d258ff
commit cacc4aa829
15 changed files with 631 additions and 628 deletions

View File

@@ -31,7 +31,7 @@ const char *test_strerror(int errnum) {
return mdbx_strerror_r(errnum, buf, sizeof(buf));
}
__noreturn void failure_perror(const char *what, int errnum) {
MDBX_NORETURN void failure_perror(const char *what, int errnum) {
failure("%s failed: %s (%d)\n", what, test_strerror(errnum), errnum);
}
@@ -39,7 +39,7 @@ __noreturn void failure_perror(const char *what, int errnum) {
static void mdbx_logger(MDBX_log_level_t priority, const char *function,
int line, const char *msg,
va_list args) cxx17_noexcept {
va_list args) MDBX_CXX17_NOEXCEPT {
if (!function)
function = "unknown";