Move safe_strerror to anonymous namespace.
This commit is contained in:
1 parent
b33d2aa825
commit
f2c9df8e9f
6 files changed
+90
-86
No files matched your search
@@ -27,6 +27,7 @@
|
||||
|
||||
#include <cstdarg>
|
||||
#include <cstdio>
|
||||
#include <string>
|
||||
|
||||
enum {BUFFER_SIZE = 256};
|
||||
|
||||
@@ -46,3 +47,5 @@ void safe_sprintf(char (&buffer)[SIZE], const char *format, ...) {
|
||||
|
||||
// Increment a number in a string.
|
||||
void increment(char *s);
|
||||
|
||||
std::string get_system_error(int error_code);
|
||||
Reference in new issue
Block a user