mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
st/mesa: move extern C wrappers where applicable
Namely, after the include directives. The headers are properly annotated so keeping things as-is is only asking for trouble. 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:
parent
94b88c1c75
commit
a177a13033
2 changed files with 7 additions and 7 deletions
|
|
@ -23,13 +23,13 @@
|
|||
#ifndef ST_ATIFS_TO_TGSI_H
|
||||
#define ST_ATIFS_TO_TGSI_H
|
||||
|
||||
#include "main/glheader.h"
|
||||
#include "pipe/p_defines.h"
|
||||
|
||||
#if defined __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "main/glheader.h"
|
||||
#include "pipe/p_defines.h"
|
||||
|
||||
struct gl_context;
|
||||
struct gl_program;
|
||||
struct ureg_program;
|
||||
|
|
|
|||
|
|
@ -29,15 +29,15 @@
|
|||
#ifndef ST_MESA_TO_TGSI_H
|
||||
#define ST_MESA_TO_TGSI_H
|
||||
|
||||
#if defined __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "main/glheader.h"
|
||||
|
||||
#include "pipe/p_compiler.h"
|
||||
#include "pipe/p_defines.h"
|
||||
|
||||
#if defined __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct gl_context;
|
||||
struct gl_program;
|
||||
struct tgsi_token;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue