Renaming of guard header names to quiet -Wreserved-id-macro

This commit is contained in:
Sam Lantinga
2017-08-28 00:22:23 -07:00
parent ce2b16445e
commit 0d011ec66d
126 changed files with 421 additions and 382 deletions

View File

@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
#ifndef _SDL_androidaudio_h
#define _SDL_androidaudio_h
#ifndef SDL_androidaudio_h_
#define SDL_androidaudio_h_
#include "../SDL_sysaudio.h"
@@ -37,6 +37,6 @@ struct SDL_PrivateAudioData
void ANDROIDAUDIO_ResumeDevices(void);
void ANDROIDAUDIO_PauseDevices(void);
#endif /* _SDL_androidaudio_h */
#endif /* SDL_androidaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
#ifndef _SDL_artsaudio_h
#define _SDL_artsaudio_h
#ifndef SDL_artsaudio_h_
#define SDL_artsaudio_h_
#include <artsc.h>
@@ -48,6 +48,6 @@ struct SDL_PrivateAudioData
};
#define FUDGE_TICKS 10 /* The scheduler overhead ticks per frame */
#endif /* _SDL_artsaudio_h */
#endif /* SDL_artsaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
#ifndef _SDL_coreaudio_h
#define _SDL_coreaudio_h
#ifndef SDL_coreaudio_h_
#define SDL_coreaudio_h_
#include "../SDL_sysaudio.h"
@@ -63,5 +63,6 @@ struct SDL_PrivateAudioData
#endif
};
#endif /* _SDL_coreaudio_h */
#endif /* SDL_coreaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
#ifndef _SDL_directsound_h
#define _SDL_directsound_h
#ifndef SDL_directsound_h_
#define SDL_directsound_h_
#include "../../core/windows/SDL_directx.h"
@@ -42,6 +42,6 @@ struct SDL_PrivateAudioData
Uint8 *locked_buf;
};
#endif /* _SDL_directsound_h */
#endif /* SDL_directsound_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
#ifndef _SDL_emscriptenaudio_h
#define _SDL_emscriptenaudio_h
#ifndef SDL_emscriptenaudio_h_
#define SDL_emscriptenaudio_h_
#include "../SDL_sysaudio.h"
@@ -33,5 +33,6 @@ struct SDL_PrivateAudioData
int unused;
};
#endif /* _SDL_emscriptenaudio_h */
#endif /* SDL_emscriptenaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
#ifndef _SDL_esdaudio_h
#define _SDL_esdaudio_h
#ifndef SDL_esdaudio_h_
#define SDL_esdaudio_h_
#include "../SDL_sysaudio.h"
@@ -46,5 +46,6 @@ struct SDL_PrivateAudioData
};
#define FUDGE_TICKS 10 /* The scheduler overhead ticks per frame */
#endif /* _SDL_esdaudio_h */
#endif /* SDL_esdaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
#ifndef _SDL_fsaudio_h
#define _SDL_fsaudio_h
#ifndef SDL_fsaudio_h_
#define SDL_fsaudio_h_
#include <fusionsound/fusionsound.h>
@@ -45,5 +45,6 @@ struct SDL_PrivateAudioData
};
#endif /* _SDL_fsaudio_h */
#endif /* SDL_fsaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
#ifndef _SDL_haikuaudio_h
#define _SDL_haikuaudio_h
#ifndef SDL_haikuaudio_h_
#define SDL_haikuaudio_h_
#include "../SDL_sysaudio.h"
@@ -33,6 +33,6 @@ struct SDL_PrivateAudioData
BSoundPlayer *audio_obj;
};
#endif /* _SDL_haikuaudio_h */
#endif /* SDL_haikuaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -18,8 +18,8 @@
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
#ifndef _SDL_jackaudio_h
#define _SDL_jackaudio_h
#ifndef SDL_jackaudio_h_
#define SDL_jackaudio_h_
#include <jack/jack.h>
@@ -37,6 +37,6 @@ struct SDL_PrivateAudioData
jack_port_t **sdlports;
};
#endif /* _SDL_jackaudio_h */
#endif /* SDL_jackaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -21,8 +21,8 @@
#include "../../SDL_internal.h"
#ifndef _SDL_naclaudio_h
#define _SDL_naclaudio_h
#ifndef SDL_naclaudio_h_
#define SDL_naclaudio_h_
#include "SDL_audio.h"
#include "../SDL_sysaudio.h"
@@ -38,4 +38,6 @@ typedef struct SDL_PrivateAudioData {
PP_Resource audio;
} SDL_PrivateAudioData;
#endif /* _SDL_naclaudio_h */
#endif /* SDL_naclaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
#ifndef _SDL_netbsdaudio_h
#define _SDL_netbsdaudio_h
#ifndef SDL_netbsdaudio_h_
#define SDL_netbsdaudio_h_
#include "../SDL_sysaudio.h"
@@ -43,6 +43,6 @@ struct SDL_PrivateAudioData
#define FUDGE_TICKS 10 /* The scheduler overhead ticks per frame */
#endif /* _SDL_netbsdaudio_h */
#endif /* SDL_netbsdaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
#ifndef _SDL_paudio_h
#define _SDL_paudio_h
#ifndef SDL_paudio_h_
#define SDL_paudio_h_
#include "../SDL_sysaudio.h"
@@ -43,6 +43,6 @@ struct SDL_PrivateAudioData
};
#define FUDGE_TICKS 10 /* The scheduler overhead ticks per frame */
#endif /* _SDL_paudio_h */
#endif /* SDL_paudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/
#ifndef _SDL_pspaudio_h
#define _SDL_pspaudio_h
#ifndef SDL_pspaudio_h_
#define SDL_pspaudio_h_
#include "../SDL_sysaudio.h"
@@ -40,6 +40,6 @@ struct SDL_PrivateAudioData {
int next_buffer;
};
#endif /* _SDL_pspaudio_h */
/* vim: ts=4 sw=4
*/
#endif /* SDL_pspaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
#ifndef _SDL_sndioaudio_h
#define _SDL_sndioaudio_h
#ifndef SDL_sndioaudio_h_
#define SDL_sndioaudio_h_
#include <poll.h>
#include <sndio.h>
@@ -44,6 +44,6 @@ struct SDL_PrivateAudioData
struct pollfd *pfd;
};
#endif /* _SDL_sndioaudio_h */
#endif /* SDL_sndioaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
#ifndef _SDL_sunaudio_h
#define _SDL_sunaudio_h
#ifndef SDL_sunaudio_h_
#define SDL_sunaudio_h_
#include "../SDL_sysaudio.h"
@@ -42,6 +42,6 @@ struct SDL_PrivateAudioData
int frequency; /* The audio frequency in KHz */
};
#endif /* _SDL_sunaudio_h */
#endif /* SDL_sunaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
#ifndef _SDL_winmm_h
#define _SDL_winmm_h
#ifndef SDL_winmm_h_
#define SDL_winmm_h_
#include "../SDL_sysaudio.h"
@@ -40,6 +40,6 @@ struct SDL_PrivateAudioData
int next_buffer;
};
#endif /* _SDL_winmm_h */
#endif /* SDL_winmm_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/
#ifndef _SDL_XAUDIO2_H
#define _SDL_XAUDIO2_H
#ifndef SDL_XAUDIO2_H_
#define SDL_XAUDIO2_H_
#include <windows.h>
#include <mmreg.h>
@@ -381,6 +381,6 @@ const struct IXAudio2VoiceCallbackVtbl
#pragma pack(pop) /* Undo pragma push */
#endif /* _SDL_XAUDIO2_H */
#endif /* SDL_XAUDIO2_H_ */
/* vi: set ts=4 sw=4 expandtab: */