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

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"

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

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

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

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

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"

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"

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"

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

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

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 {

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

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"
/**

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

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

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

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;

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

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

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;

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,

View File

@ -28,6 +28,7 @@
#include <assert.h>
#include <stdlib.h>
#include "sl_pp_token_util.h"
#include "sl_pp_token.h"
int

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;
/*

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