Commit 369074b5 authored by Owen Rodley's avatar Owen Rodley Committed by Commit Bot

Remove circular includes in arch_dependent_sizes_*

The include flow is:

test_struct_sizes.c
arch_dependent_sizes_(32|64).h
test_struct_sizes.c again
arch_dependent_sizes_(32|64).h again

then we hit the include guard as we've included the header twice

test_struct_sizes.c is the only file that includes either of these
headers, so the #include of test_struct_sizes.c is redundant.

Change-Id: I95a4efe45a46dfe26b9b0e60b15af702d5546717
Reviewed-on: https://chromium-review.googlesource.com/1055009Reviewed-by: default avatarRaymes Khoury <raymes@chromium.org>
Commit-Queue: Owen Rodley <orodley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#558170}
parent 785315a0
......@@ -9,8 +9,6 @@
#ifndef PPAPI_TESTS_ARCH_DEPENDENT_SIZES_32_H_
#define PPAPI_TESTS_ARCH_DEPENDENT_SIZES_32_H_
#include "ppapi/tests/test_struct_sizes.c"
PP_COMPILE_ASSERT_SIZE_IN_BYTES(GLintptr, 4);
PP_COMPILE_ASSERT_SIZE_IN_BYTES(GLsizeiptr, 4);
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_CompletionCallback_Func, 4);
......
......@@ -9,8 +9,6 @@
#ifndef PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_
#define PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_
#include "ppapi/tests/test_struct_sizes.c"
PP_COMPILE_ASSERT_SIZE_IN_BYTES(GLintptr, 8);
PP_COMPILE_ASSERT_SIZE_IN_BYTES(GLsizeiptr, 8);
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_CompletionCallback_Func, 8);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment