glsl: Clean up header file inclusion.

This commit is contained in:
Vinson Lee
2010-08-14 01:46:21 -07:00
parent d75eac5db1
commit 71a6dea0f5
24 changed files with 33 additions and 21 deletions
+1
View File
@@ -30,6 +30,7 @@
#include <string.h>
#include <assert.h>
#include "../pp/sl_pp_public.h"
#include "../pp/sl_pp_purify.h"
#include "../cl/sl_cl_parse.h"
+2
View File
@@ -30,6 +30,8 @@
#include <string.h>
#include <assert.h>
#include "../pp/sl_pp_public.h"
#include "../pp/sl_pp_purify.h"
#include "../pp/sl_pp_token.h"
int
+1
View File
@@ -30,6 +30,7 @@
#include <stdlib.h>
#include <string.h>
#include "../pp/sl_pp_public.h"
#include "../pp/sl_pp_purify.h"
int
+2
View File
@@ -30,6 +30,8 @@
#include <string.h>
#include <assert.h>
#include "../pp/sl_pp_public.h"
#include "../pp/sl_pp_purify.h"
#include "../pp/sl_pp_token.h"
int
+1
View File
@@ -30,6 +30,7 @@
#include <string.h>
#include <assert.h>
#include "../pp/sl_pp_public.h"
#include "../pp/sl_pp_purify.h"
int
+1
View File
@@ -29,6 +29,7 @@
#include <stdlib.h>
#include <string.h>
#include "../pp/sl_pp_public.h"
#include "../pp/sl_pp_token.h"
#include "sl_cl_parse.h"
+1
View File
@@ -27,6 +27,7 @@
#include <stdlib.h>
#include <string.h>
#include "sl_pp_macro.h"
#include "sl_pp_public.h"
#include "sl_pp_context.h"
-1
View File
@@ -29,7 +29,6 @@
#define SL_PP_CONTEXT_H
#include "sl_pp_dict.h"
#include "sl_pp_macro.h"
#include "sl_pp_process.h"
#include "sl_pp_purify.h"
#include "sl_pp_token_util.h"
+2
View File
@@ -28,8 +28,10 @@
#include <stdlib.h>
#include <string.h>
#include "sl_pp_context.h"
#include "sl_pp_macro.h"
#include "sl_pp_process.h"
#include "sl_pp_public.h"
#include "sl_pp_token.h"
static void
+1
View File
@@ -30,6 +30,7 @@
#include "sl_pp_context.h"
#include "sl_pp_process.h"
#include "sl_pp_public.h"
#include "sl_pp_token.h"
void
+2
View File
@@ -27,8 +27,10 @@
#include <stdlib.h>
#include <string.h>
#include "sl_pp_context.h"
#include "sl_pp_expression.h"
#include "sl_pp_public.h"
#include "sl_pp_token.h"
struct parse_context {
+2 -2
View File
@@ -28,8 +28,8 @@
#ifndef SL_PP_EXPRESSION_H
#define SL_PP_EXPRESSION_H
#include "sl_pp_context.h"
#include "sl_pp_token.h"
struct sl_pp_context;
struct sl_pp_token_info;
int
+2
View File
@@ -25,11 +25,13 @@
*
**************************************************************************/
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include "sl_pp_context.h"
#include "sl_pp_process.h"
#include "sl_pp_public.h"
#include "sl_pp_token.h"
/**
+3
View File
@@ -27,8 +27,11 @@
#include <stdlib.h>
#include <string.h>
#include "sl_pp_context.h"
#include "sl_pp_expression.h"
#include "sl_pp_macro.h"
#include "sl_pp_process.h"
#include "sl_pp_token.h"
static int
+2
View File
@@ -28,8 +28,10 @@
#include <stdlib.h>
#include <string.h>
#include "sl_pp_context.h"
#include "sl_pp_macro.h"
#include "sl_pp_public.h"
#include "sl_pp_process.h"
#include "sl_pp_token.h"
int
+1
View File
@@ -32,6 +32,7 @@
#include "sl_pp_public.h"
#include "sl_pp_macro.h"
#include "sl_pp_process.h"
#include "sl_pp_token.h"
static void
-3
View File
@@ -28,9 +28,6 @@
#ifndef SL_PP_MACRO_H
#define SL_PP_MACRO_H
#include "sl_pp_token.h"
struct sl_pp_context;
struct sl_pp_process_state;
struct sl_pp_token_buffer;
+1
View File
@@ -29,6 +29,7 @@
#include <string.h>
#include "sl_pp_context.h"
#include "sl_pp_process.h"
#include "sl_pp_token.h"
int
+3
View File
@@ -25,11 +25,14 @@
*
**************************************************************************/
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include "sl_pp_context.h"
#include "sl_pp_macro.h"
#include "sl_pp_process.h"
#include "sl_pp_public.h"
#include "sl_pp_token.h"
int
+1 -4
View File
@@ -28,11 +28,8 @@
#ifndef SL_PP_PROCESS_H
#define SL_PP_PROCESS_H
#include "sl_pp_macro.h"
#include "sl_pp_token.h"
struct sl_pp_context;
struct sl_pp_token_buffer;
struct sl_pp_process_state {
struct sl_pp_token_info *out;
+2 -6
View File
@@ -28,13 +28,9 @@
#ifndef SL_PP_PUBLIC_H
#define SL_PP_PUBLIC_H
struct sl_pp_context;
#include "sl_pp_purify.h"
#include "sl_pp_token.h"
struct sl_pp_purify_options;
struct sl_pp_token_info;
struct sl_pp_context *
sl_pp_context_create(const char *input,
+1
View File
@@ -28,6 +28,7 @@
#include <assert.h>
#include <stdlib.h>
#include "sl_pp_token_util.h"
#include "sl_pp_token.h"
int
-5
View File
@@ -28,11 +28,6 @@
#ifndef SL_PP_TOKEN_UTIL_H
#define SL_PP_TOKEN_UTIL_H
#include <assert.h>
#include <stdlib.h>
#include "sl_pp_token.h"
struct sl_pp_context;
/*
+1
View File
@@ -29,6 +29,7 @@
#include <string.h>
#include "sl_pp_public.h"
#include "sl_pp_context.h"
#include "sl_pp_token.h"
int