Do not wrap header inclusion in extern C since it can cause issues.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
#ifndef BLOB_H
#define BLOB_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* The blob functions implement a simple, low-level API for serializing and
* deserializing.
*
#include <new>
-extern "C" {
#include "program/symbol_table.h"
-}
#include "ir.h"
class symbol_table_entry;
#include "ir.h"
#include "ir_visitor.h"
-extern "C" {
#include "program/symbol_table.h"
-}
/**
* Abstract base class of visitors of IR instruction trees