Solve No Previous Prototype GCC warning

In some cases there were missing includes of own
header files from implementation files.

In other cases moved function which are only used
within single file into an anonymous namespace.

Change-Id: I2c6b411bcfbc521e2a5f21265dc8e009a548b1c8
This commit is contained in:
Sergey Sharybin
2013-02-25 01:14:26 +06:00
parent 267ccc45a3
commit b53c9667f5
8 changed files with 15 additions and 3 deletions
+2
View File
@@ -28,6 +28,8 @@
//
// Author: Sanjay Ghemawat
#include "ceres/stringprintf.h"
#include <cerrno>
#include <cstdarg> // For va_list and related operations
#include <cstdio> // MSVC requires this for _vsnprintf