summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-08-20 19:29:42 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-08-21 21:47:37 +0100
commitdd46f0926d290f1f4ee50803621f6a4cdf7829a6 (patch)
tree0458e9efa161a99f506aaad199f608b6765a3a1c
parent7550a24fa677a516a7e010ac0b03f97f42c01e8d (diff)
include: move sarea.h next to it's only user
The header is used by DRI1 drivers, which we've removed a while back. Now only the dri1 loader in libGL is using it, so let's move it in src/glx, and prefix it accordingly. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
-rw-r--r--src/glx/dri_glx.c2
-rw-r--r--src/glx/dri_sarea.h (renamed from include/GL/internal/sarea.h)2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/dri_glx.c b/src/glx/dri_glx.c
index 5295331769..d087751930 100644
--- a/src/glx/dri_glx.c
+++ b/src/glx/dri_glx.c
@@ -40,7 +40,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "glxclient.h"
#include "xf86dri.h"
#include "dri2.h"
-#include "sarea.h"
+#include "dri_sarea.h"
#include <dlfcn.h>
#include <sys/types.h>
#include <sys/mman.h>
diff --git a/include/GL/internal/sarea.h b/src/glx/dri_sarea.h
index c3b8bca2b6..fe4529b541 100644
--- a/include/GL/internal/sarea.h
+++ b/src/glx/dri_sarea.h
@@ -1,5 +1,5 @@
/**
- * \file sarea.h
+ * \file dri_sarea.h
* SAREA definitions.
*
* \author Kevin E. Martin <kevin@precisioninsight.com>