Skip to content

Commit

Permalink
Do not use leading underscores in multiple inclusion guards, they are…
Browse files Browse the repository at this point in the history
… reserved.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23709 b3059339-0415-0410-9bf9-f77b7e298cf2
  • Loading branch information
diego committed Jul 2, 2007
1 parent 80afc93 commit 3e9e4ac
Show file tree
Hide file tree
Showing 103 changed files with 241 additions and 239 deletions.
4 changes: 2 additions & 2 deletions gui/app.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#ifndef __GUI_APP_H
#define __GUI_APP_H
#ifndef GUI_APP_H
#define GUI_APP_H

#include "bitmap.h"
#include "wm/ws.h"
Expand Down
6 changes: 3 additions & 3 deletions gui/bitmap.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __GUI_BITMAP_H
#define __GUI_BITMAP_H
#ifndef GUI_BITMAP_H
#define GUI_BITMAP_H

typedef struct _txSample
{
Expand All @@ -13,4 +13,4 @@ typedef struct _txSample
int bpRead( char * fname, txSample * bf );
void Convert32to1( txSample * in,txSample * out,int adaptivlimit );

#endif /* __GUI_BITMAP_H */
#endif /* GUI_BITMAP_H */
4 changes: 2 additions & 2 deletions gui/cfg.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#ifndef __GUI_CFG_H
#define __GUI_CFG_H
#ifndef GUI_CFG_H
#define GUI_CFG_H

extern int gtkEnableAudioEqualizer;

Expand Down
4 changes: 2 additions & 2 deletions gui/interface.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#ifndef _GUI_INTERFACE_H
#define _GUI_INTERFACE_H
#ifndef GUI_INTERFACE_H
#define GUI_INTERFACE_H

#include "../config.h"
#include "mplayer/play.h"
Expand Down
5 changes: 3 additions & 2 deletions gui/mplayer/common.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef __GUI_COMMON_H
#define __GUI_COMMON_H

#ifndef GUI_COMMON_H
#define GUI_COMMON_H

#include <stdlib.h>
#include <stdio.h>
Expand Down
4 changes: 2 additions & 2 deletions gui/mplayer/gmplayer.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#ifndef __GUI_GMPLAYER_H
#define __GUI_GMPLAYER_H
#ifndef GUI_GMPLAYER_H
#define GUI_GMPLAYER_H

extern int mplSubRender;
extern int mplMainRender;
Expand Down
4 changes: 2 additions & 2 deletions gui/mplayer/gtk/about.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#ifndef __GUI_ABOUT_H
#define __GUI_ABOUT_H
#ifndef GUI_ABOUT_H
#define GUI_ABOUT_H

#include <gtk/gtk.h>

Expand Down
4 changes: 2 additions & 2 deletions gui/mplayer/gtk/common.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#ifndef __GUI_COMMON_H
#define __GUI_COMMON_H
#ifndef GUI_COMMON_H
#define GUI_COMMON_H

#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
Expand Down
4 changes: 2 additions & 2 deletions gui/mplayer/gtk/eq.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#ifndef __GUI_EQ_H
#define __GUI_EQ_H
#ifndef GUI_EQ_H
#define GUI_EQ_H

#include <gtk/gtk.h>

Expand Down
4 changes: 2 additions & 2 deletions gui/mplayer/gtk/fs.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __GUI_FS_H
#define __GUI_FS_H
#ifndef GUI_FS_H
#define GUI_FS_H

#include <gtk/gtk.h>

Expand Down
4 changes: 2 additions & 2 deletions gui/mplayer/gtk/mb.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#ifndef __GUI_MB_H
#define __GUI_MB_H
#ifndef GUI_MB_H
#define GUI_MB_H

#include <gtk/gtk.h>

Expand Down
4 changes: 2 additions & 2 deletions gui/mplayer/gtk/menu.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __GUI_MENU_H
#define __GUI_MENU_H
#ifndef GUI_MENU_H
#define GUI_MENU_H

#include <gtk/gtk.h>

Expand Down
4 changes: 2 additions & 2 deletions gui/mplayer/gtk/opts.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#ifndef __GUI_OPTS_H
#define __GUI_OPTS_H
#ifndef GUI_OPTS_H
#define GUI_OPTS_H

#include <gtk/gtk.h>

Expand Down
4 changes: 2 additions & 2 deletions gui/mplayer/gtk/pl.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#ifndef __GUI_PL_H
#define __GUI_PL_H
#ifndef GUI_PL_H
#define GUI_PL_H

#include <gtk/gtk.h>

Expand Down
4 changes: 2 additions & 2 deletions gui/mplayer/gtk/sb.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __GUI_SB_H
#define __GUI_SB_H
#ifndef GUI_SB_H
#define GUI_SB_H

#include <gtk/gtk.h>

Expand Down
4 changes: 2 additions & 2 deletions gui/mplayer/gtk/url.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#ifndef _GUI_URL_H
#define _GUI_URL_H
#ifndef GUI_URL_H
#define GUI_URL_H

extern GtkWidget * URL;
extern int gtkVURLDialogBox;
Expand Down
4 changes: 2 additions & 2 deletions gui/mplayer/play.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#ifndef __GUI_PLAY_H
#define __GUI_PLAY_H
#ifndef GUI_PLAY_H
#define GUI_PLAY_H

#include "../config.h"

Expand Down
4 changes: 2 additions & 2 deletions gui/mplayer/widgets.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#ifndef __GUI_WIDGETS_H
#define __GUI_WIDGETS_H
#ifndef GUI_WIDGETS_H
#define GUI_WIDGETS_H

#include <stdio.h>
#include <stdlib.h>
Expand Down
4 changes: 2 additions & 2 deletions gui/skin/cut.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#ifndef _GUI_CUT_H
#define _GUI_CUT_H
#ifndef GUI_CUT_H
#define GUI_CUT_H

extern void cutItem( char * in,char * out,char sep,int num );
extern int cutItemToInt( char * in,char sep,int num );
Expand Down
4 changes: 2 additions & 2 deletions gui/skin/font.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#ifndef _GUI_FONT_H
#define _GUI_FONT_H
#ifndef GUI_FONT_H
#define GUI_FONT_H

#include "bitmap.h"
#include "app.h"
Expand Down
4 changes: 2 additions & 2 deletions gui/skin/skin.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#ifndef __GUI_SKIN_H
#define __GUI_SKIN_H
#ifndef GUI_SKIN_H
#define GUI_SKIN_H

#include "app.h"

Expand Down
4 changes: 2 additions & 2 deletions gui/win32/dialogs.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef _GUI_DIALOGS_H
#define _GUI_DIALOGS_H
#ifndef GUI_DIALOGS_H
#define GUI_DIALOGS_H

#define TBS_TOOLTIPS 0x0100
#define WM_SYSTRAY (WM_USER+1)
Expand Down
5 changes: 3 additions & 2 deletions gui/win32/gui.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef _GUI_GUI_H
#define _GUI_GUI_H
#ifndef GUI_GUI_H
#define GUI_GUI_H

#include "config.h"
#include "mplayer.h"
#include "playtree.h"
Expand Down
4 changes: 2 additions & 2 deletions gui/win32/playlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef _GUI_PLAYLIST_H
#define _GUI_PLAYLIST_H
#ifndef GUI_PLAYLIST_H
#define GUI_PLAYLIST_H

typedef struct
{
Expand Down
4 changes: 2 additions & 2 deletions gui/win32/skinload.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef _GUI_SKINLOAD_H
#define _GUI_SKINLOAD_H
#ifndef GUI_SKINLOAD_H
#define GUI_SKINLOAD_H

typedef struct
{
Expand Down
4 changes: 2 additions & 2 deletions gui/win32/wincfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef _GUI_WINCFG_H
#define _GUI_WINCFG_H
#ifndef GUI_WINCFG_H
#define GUI_WINCFG_H

extern char *skinName;
extern int sub_window;
Expand Down
4 changes: 2 additions & 2 deletions gui/wm/ws.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
// Writed by pontscho / fresh!mindworkz
// ----------------------------------------------------------------------------------------------

#ifndef __GUI_WS_H
#define __GUI_WS_H
#ifndef GUI_WS_H
#define GUI_WS_H

#include <X11/Xlib.h>
#include <X11/Xutil.h>
Expand Down
4 changes: 2 additions & 2 deletions gui/wm/wskeys.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#ifndef _GUI_WSKEYS_H
#define _GUI_WSKEYS_H
#ifndef GUI_WSKEYS_H
#define GUI_WSKEYS_H

#define wsKeyNone -1

Expand Down
4 changes: 2 additions & 2 deletions gui/wm/wsxdnd.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#ifndef _GUI_WSXDND_H
#define _GUI_WSXDND_H
#ifndef GUI_WSXDND_H
#define GUI_WSXDND_H


void wsXDNDInitialize(void);
Expand Down
4 changes: 2 additions & 2 deletions libaf/dsp.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
//=============================================================================
*/

#ifndef _DSP_H
#define _DSP_H 1
#ifndef DSP_H
#define DSP_H

/* Implementation of routines used for DSP */

Expand Down
6 changes: 3 additions & 3 deletions libaf/filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
//=============================================================================
*/

#if !defined _DSP_H
#if !defined DSP_H
# error "Never use <filter.h> directly; include <dsp.h> instead"
#endif

#ifndef _FILTER_H
#define _FILTER_H 1
#ifndef FILTER_H
#define FILTER_H


// Design and implementation of different types of digital filters
Expand Down
6 changes: 3 additions & 3 deletions libaf/window.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
coefficients will be stored.
*/

#if !defined _DSP_H
#if !defined DSP_H
# error "Never use <window.h> directly; include <dsp.h> instead"
#endif

#ifndef _WINDOW_H
#define _WINDOW_H 1
#ifndef WINDOW_H
#define WINDOW_H

extern void af_window_boxcar(int n, _ftype_t* w);
extern void af_window_triang(int n, _ftype_t* w);
Expand Down
4 changes: 2 additions & 2 deletions libao2/audio_out.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#ifndef __AUDIO_OUT_H
#define __AUDIO_OUT_H
#ifndef AUDIO_OUT_H
#define AUDIO_OUT_H

typedef struct ao_info_s
{
Expand Down
4 changes: 2 additions & 2 deletions libass/ass.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef __ASS_H__
#define __ASS_H__
#ifndef ASS_H
#define ASS_H

#include "ass_types.h"

Expand Down
4 changes: 2 additions & 2 deletions libass/ass_bitmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef __ASS_BITMAP_H__
#define __ASS_BITMAP_H__
#ifndef ASS_BITMAP_H
#define ASS_BITMAP_H

typedef struct ass_synth_priv_s ass_synth_priv_t;

Expand Down
4 changes: 2 additions & 2 deletions libass/ass_cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef __ASS_CACHE_H__
#define __ASS_CACHE_H__
#ifndef ASS_CACHE_H
#define ASS_CACHE_H

void ass_font_cache_init(void);
ass_font_t* ass_font_cache_find(ass_font_desc_t* desc);
Expand Down
4 changes: 2 additions & 2 deletions libass/ass_font.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef __ASS_FONT_H__
#define __ASS_FONT_H__
#ifndef ASS_FONT_H
#define ASS_FONT_H

#ifdef HAVE_FONTCONFIG
#include <fontconfig/fontconfig.h>
Expand Down
4 changes: 2 additions & 2 deletions libass/ass_fontconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef __ASS_FONTCONFIG_H__
#define __ASS_FONTCONFIG_H__
#ifndef ASS_FONTCONFIG_H
#define ASS_FONTCONFIG_H

#ifdef HAVE_FONTCONFIG
#include <fontconfig/fontconfig.h>
Expand Down
4 changes: 2 additions & 2 deletions libass/ass_library.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef __ASS_LIBRARY_H__
#define __ASS_LIBRARY_H__
#ifndef ASS_LIBRARY_H
#define ASS_LIBRARY_H

typedef struct ass_fontdata_s {
char* name;
Expand Down
Loading

0 comments on commit 3e9e4ac

Please sign in to comment.