mesa: remove unneeded extern C {} wrapper

compiler.h defines a few mesa specific macros which are not C specific.
This allows us to avoid buggy extern C { #include $system_header }
constructs.

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:
Emil Velikov 2017-02-16 15:16:34 +00:00 committed by Emil Velikov
parent 1451bcb125
commit d5db27706c

View file

@ -41,11 +41,6 @@
#include "c99_compat.h" /* inline, __func__, etc. */
#ifdef __cplusplus
extern "C" {
#endif
/**
* Either define MESA_BIG_ENDIAN or MESA_LITTLE_ENDIAN, and CPU_TO_LE32.
* Do not use these unless absolutely necessary!
@ -78,9 +73,4 @@ extern "C" {
#define IEEE_ONE 0x3f800000
#ifdef __cplusplus
}
#endif
#endif /* COMPILER_H */