summaryrefslogtreecommitdiff
path: root/snappy-sinksource.cc
diff options
context:
space:
mode:
authorVictor Costan <costan@google.com>2020-04-29 19:32:47 +0000
committerVictor Costan <costan@google.com>2020-04-29 19:38:03 +0000
commit5417da69b7e150bcfb9c18304c0aa95d8caf7f34 (patch)
treea98189eb5c71da384d9c3238573058720701fd91 /snappy-sinksource.cc
parent251d935d5096da77c4fef26ea41b019430da5572 (diff)
downloadsnappy-git-5417da69b7e150bcfb9c18304c0aa95d8caf7f34.tar.gz
Switch from C headers to C++ headers.
This CL makes the following substitutions. * assert.h -> cassert * math.h -> cmath * stdarg.h -> cstdarg * stdio.h -> cstdio * stdlib.h -> cstdlib * string.h -> cstring stddef.h and stdint.h are not migrated to C++ headers. PiperOrigin-RevId: 309074805
Diffstat (limited to 'snappy-sinksource.cc')
-rw-r--r--snappy-sinksource.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/snappy-sinksource.cc b/snappy-sinksource.cc
index b161797..605a2cb 100644
--- a/snappy-sinksource.cc
+++ b/snappy-sinksource.cc
@@ -26,7 +26,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#include <cstddef>
+#include <stddef.h>
#include <cstring>
#include "snappy-sinksource.h"