From 7516bd349c81fc113d6474dee3271dfe8439e27c Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 12 Jan 2023 15:53:02 -0800 Subject: [PATCH] Move SDL_internal.h to be first in the file, after the copyright --- src/video/vivante/SDL_vivantevideo.h | 2 +- src/video/vivante/SDL_vivantevulkan.c | 3 +-- src/video/vivante/SDL_vivantevulkan.h | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/video/vivante/SDL_vivantevideo.h b/src/video/vivante/SDL_vivantevideo.h index 307be8070..dbbd8c106 100644 --- a/src/video/vivante/SDL_vivantevideo.h +++ b/src/video/vivante/SDL_vivantevideo.h @@ -18,11 +18,11 @@ misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ +#include "SDL_internal.h" #ifndef SDL_vivantevideo_h_ #define SDL_vivantevideo_h_ -#include "SDL_internal.h" #include "../SDL_sysvideo.h" #include diff --git a/src/video/vivante/SDL_vivantevulkan.c b/src/video/vivante/SDL_vivantevulkan.c index b2081f870..6379fc7b1 100644 --- a/src/video/vivante/SDL_vivantevulkan.c +++ b/src/video/vivante/SDL_vivantevulkan.c @@ -18,6 +18,7 @@ misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ +#include "SDL_internal.h" /* * @author Wladimir J. van der Laan. Based on Jacob Lifshay's @@ -25,8 +26,6 @@ * the FSL demo framework. */ -#include "SDL_internal.h" - #if SDL_VIDEO_VULKAN && SDL_VIDEO_DRIVER_VIVANTE #include "SDL_vivantevideo.h" diff --git a/src/video/vivante/SDL_vivantevulkan.h b/src/video/vivante/SDL_vivantevulkan.h index 1fb802c29..bc85033bf 100644 --- a/src/video/vivante/SDL_vivantevulkan.h +++ b/src/video/vivante/SDL_vivantevulkan.h @@ -18,14 +18,13 @@ misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ +#include "SDL_internal.h" /* * @author Wladimir J. van der Laan. Based on Jacob Lifshay's * SDL_x11vulkan.h and Mark Callow's SDL_vivantevulkan.h */ -#include "SDL_internal.h" - #ifndef SDL_vivantevulkan_h_ #define SDL_vivantevulkan_h_