]> git.cworth.org Git - fips/blobdiff - context.c
Make definition of context_t private to context.c
[fips] / context.c
index 933e1ed03207ad2e533ae0b68a6000f924a73d1f..133c37c168d6b04016579cbf3ccbd3938f11e241 100644 (file)
--- a/context.c
+++ b/context.c
 #include "metrics.h"
 #include "xmalloc.h"
 
+typedef struct context
+{
+       /* Pointer to the system's context ID, (such as a GLXContext) */
+       void *system_id;
+
+       metrics_info_t metrics_info;
+       metrics_t *metrics;
+} context_t;
+
 context_t *current_context;
 
 static context_t *