Move safe_strerror to anonymous namespace.

This commit is contained in:
Victor Zverovich
2014-09-05 08:44:41 -07:00
parent b33d2aa825
commit f2c9df8e9f
6 changed files with 90 additions and 86 deletions

View File

@ -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);