[waffle] [PATCH 03/10] nacl: move header inclusion outside of the extern "C" block

Emil Velikov emil.l.velikov at gmail.com
Tue Mar 24 08:56:19 PDT 2015


With earlier commit we annotated the api/core headers, thus this should
be safe to remove.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/waffle/nacl/nacl_container.h | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/waffle/nacl/nacl_container.h b/src/waffle/nacl/nacl_container.h
index a1371a7..6d0f70b 100644
--- a/src/waffle/nacl/nacl_container.h
+++ b/src/waffle/nacl/nacl_container.h
@@ -23,14 +23,13 @@
 // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
-#ifdef __cplusplus
+#include "nacl_config.h"
+#include "wcore_error.h"
 
+#ifdef __cplusplus
 extern "C" {
 #endif
 
-#include "nacl_config.h"
-#include "wcore_error.h"
-
 #define NACL_GLES2_LIBRARY "libppapi_gles2.so"
 
 struct nacl_container;
-- 
2.3.1



More information about the waffle mailing list