From 3134a8930704cf6bd71bcb888ac0690ca0da1b0a Mon Sep 17 00:00:00 2001 From: krangelov Date: Fri, 26 Nov 2021 15:00:24 +0100 Subject: [PATCH] reduce import symbols --- src/runtime/c/pgf/db.h | 4 ++-- src/runtime/c/pgf/writer.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/runtime/c/pgf/db.h b/src/runtime/c/pgf/db.h index 9c92c6919..af5b0c678 100644 --- a/src/runtime/c/pgf/db.h +++ b/src/runtime/c/pgf/db.h @@ -112,8 +112,8 @@ private: PGF_INTERNAL_DECL void unregister_process(); - void lock(DB_scope_mode m); - void unlock(); + PGF_INTERNAL_DECL void lock(DB_scope_mode m); + PGF_INTERNAL_DECL void unlock(); friend class DB_scope; }; diff --git a/src/runtime/c/pgf/writer.cxx b/src/runtime/c/pgf/writer.cxx index 7ad272fdc..55e86fb40 100644 --- a/src/runtime/c/pgf/writer.cxx +++ b/src/runtime/c/pgf/writer.cxx @@ -55,7 +55,7 @@ void PgfWriter::write_double(double d) unsigned rawexp; uint64_t mantissa; - switch (fpclassify(d)) { + switch (::fpclassify(d)) { case FP_NAN: rawexp = 0x7ff; mantissa = 1;