glsl: resolve extern C workarounds/hacks
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>
This commit is contained in:

committed by
Emil Velikov

parent
a177a13033
commit
7fcbb1a902
@@ -25,14 +25,14 @@
|
||||
#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.
|
||||
*
|
||||
|
@@ -28,9 +28,7 @@
|
||||
|
||||
#include <new>
|
||||
|
||||
extern "C" {
|
||||
#include "program/symbol_table.h"
|
||||
}
|
||||
#include "ir.h"
|
||||
|
||||
class symbol_table_entry;
|
||||
|
@@ -29,9 +29,7 @@
|
||||
#include "ir.h"
|
||||
#include "ir_visitor.h"
|
||||
|
||||
extern "C" {
|
||||
#include "program/symbol_table.h"
|
||||
}
|
||||
|
||||
/**
|
||||
* Abstract base class of visitors of IR instruction trees
|
||||
|
Reference in New Issue
Block a user