summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-08-04 17:04:38 -0700
committerVinson Lee <vlee@vmware.com>2010-08-04 17:04:38 -0700
commitcb7638579e22a8854d13d58c435c90b2e596e946 (patch)
treeda07313de4ac3bc43d78905cd8e20ddf10a98c80 /src/mesa
parente857293299c5bc38de683f199fe1ec7833aff61c (diff)
st/mesa: Clean up st_cb_viewport.h.
Add inclusion guard. Add forward declaration.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_cb_viewport.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_viewport.h b/src/mesa/state_tracker/st_cb_viewport.h
index db7dd6eab8..bcfd7cb68a 100644
--- a/src/mesa/state_tracker/st_cb_viewport.h
+++ b/src/mesa/state_tracker/st_cb_viewport.h
@@ -25,5 +25,12 @@
*
**************************************************************************/
+#ifndef ST_CB_VIEWPORT_H
+#define ST_CB_VIEWPORT_H
+
+struct dd_function_table;
+
extern void
st_init_viewport_functions(struct dd_function_table *functions);
+
+#endif /* ST_CB_VIEW_PORT_H */