Skip to content

Commit

Permalink
Corrected names of header file guards.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Jun 3, 2017
1 parent 07b0df0 commit 63b3e06
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 18 deletions.
7 changes: 4 additions & 3 deletions src/audio/arts/SDL_artsaudio.h
Expand Up @@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"

#ifndef _SDL_artscaudio_h
#define _SDL_artscaudio_h
#ifndef _SDL_artsaudio_h
#define _SDL_artsaudio_h

#include <artsc.h>

Expand All @@ -48,5 +48,6 @@ struct SDL_PrivateAudioData
};
#define FUDGE_TICKS 10 /* The scheduler overhead ticks per frame */

#endif /* _SDL_artscaudio_h */
#endif /* _SDL_artsaudio_h */

/* vi: set ts=4 sw=4 expandtab: */
6 changes: 3 additions & 3 deletions src/audio/haiku/SDL_haikuaudio.h
Expand Up @@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"

#ifndef _SDL_beaudio_h
#define _SDL_beaudio_h
#ifndef _SDL_haikuaudio_h
#define _SDL_haikuaudio_h

#include "../SDL_sysaudio.h"

Expand All @@ -33,6 +33,6 @@ struct SDL_PrivateAudioData
BSoundPlayer *audio_obj;
};

#endif /* _SDL_beaudio_h */
#endif /* _SDL_haikuaudio_h */

/* vi: set ts=4 sw=4 expandtab: */
6 changes: 3 additions & 3 deletions src/audio/netbsd/SDL_netbsdaudio.h
Expand Up @@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"

#ifndef _SDL_bsdaudio_h
#define _SDL_bsdaudio_h
#ifndef _SDL_netbsdaudio_h
#define _SDL_netbsdaudio_h

#include "../SDL_sysaudio.h"

Expand All @@ -46,6 +46,6 @@ struct SDL_PrivateAudioData

#define FUDGE_TICKS 10 /* The scheduler overhead ticks per frame */

#endif /* _SDL_bsdaudio_h */
#endif /* _SDL_netbsdaudio_h */

/* vi: set ts=4 sw=4 expandtab: */
7 changes: 4 additions & 3 deletions src/audio/paudio/SDL_paudio.h
Expand Up @@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"

#ifndef _SDL_paudaudio_h
#define _SDL_paudaudio_h
#ifndef _SDL_paudio_h
#define _SDL_paudio_h

#include "../SDL_sysaudio.h"

Expand All @@ -43,5 +43,6 @@ struct SDL_PrivateAudioData
};
#define FUDGE_TICKS 10 /* The scheduler overhead ticks per frame */

#endif /* _SDL_paudaudio_h */
#endif /* _SDL_paudio_h */

/* vi: set ts=4 sw=4 expandtab: */
6 changes: 3 additions & 3 deletions src/render/opengles2/SDL_shaders_gles2.h
Expand Up @@ -22,8 +22,8 @@

#if SDL_VIDEO_RENDER_OGL_ES2

#ifndef SDL_shaderdata_h_
#define SDL_shaderdata_h_
#ifndef SDL_shaders_gles2_h_
#define SDL_shaders_gles2_h_

typedef struct GLES2_ShaderInstance
{
Expand Down Expand Up @@ -56,7 +56,7 @@ typedef enum

const GLES2_Shader *GLES2_GetShader(GLES2_ShaderType type, SDL_BlendMode blendMode);

#endif /* SDL_shaderdata_h_ */
#endif /* SDL_shaders_gles2_h_ */

#endif /* SDL_VIDEO_RENDER_OGL_ES2 */

Expand Down
6 changes: 3 additions & 3 deletions src/video/nacl/SDL_naclopengles.h
Expand Up @@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"

#ifndef _SDL_naclgl_h
#define _SDL_naclgl_h
#ifndef _SDL_naclopengles_h
#define _SDL_naclopengles_h

extern int NACL_GLES_LoadLibrary(_THIS, const char *path);
extern void *NACL_GLES_GetProcAddress(_THIS, const char *proc);
Expand All @@ -33,6 +33,6 @@ extern int NACL_GLES_GetSwapInterval(_THIS);
extern int NACL_GLES_SwapWindow(_THIS, SDL_Window * window);
extern void NACL_GLES_DeleteContext(_THIS, SDL_GLContext context);

#endif /* _SDL_naclgl_h */
#endif /* _SDL_naclopengles_h */

/* vi: set ts=4 sw=4 expandtab: */

0 comments on commit 63b3e06

Please sign in to comment.