include: move sarea.h next to it's only user
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 20 Aug 2014 18:29:42 +0000 (19:29 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 21 Aug 2014 20:47:37 +0000 (21:47 +0100)
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>
src/glx/dri_glx.c
src/glx/dri_sarea.h [moved from include/GL/internal/sarea.h with 99% similarity]

index 5295331..d087751 100644 (file)
@@ -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>
similarity index 99%
rename from include/GL/internal/sarea.h
rename to src/glx/dri_sarea.h
index c3b8bca..fe4529b 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file sarea.h 
+ * \file dri_sarea.h
  * SAREA definitions.
  * 
  * \author Kevin E. Martin <kevin@precisioninsight.com>