aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/QUtil.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/qpdf/QUtil.hh')
-rw-r--r--include/qpdf/QUtil.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/qpdf/QUtil.hh b/include/qpdf/QUtil.hh
index 4d46f630..2f7f15b2 100644
--- a/include/qpdf/QUtil.hh
+++ b/include/qpdf/QUtil.hh
@@ -30,9 +30,9 @@
#include <list>
#include <memory>
#include <stdexcept>
-#include <stdio.h>
+#include <cstdio>
#include <string>
-#include <time.h>
+#include <ctime>
#include <vector>
class RandomDataProvider;
@@ -245,7 +245,7 @@ namespace QUtil
// Returns true iff the variable is defined. If `value' is
// non-null, initializes it with the value of the variable.
QPDF_DLL
- bool get_env(std::string const& var, std::string* value = 0);
+ bool get_env(std::string const& var, std::string* value = nullptr);
QPDF_DLL
time_t get_current_time();