Mercurial > mplayer.hg
changeset 23689:3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
line wrap: on
line diff
--- a/gui/app.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/app.h Mon Jul 02 22:34:45 2007 +0000 @@ -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"
--- a/gui/bitmap.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/bitmap.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef __GUI_BITMAP_H -#define __GUI_BITMAP_H +#ifndef GUI_BITMAP_H +#define GUI_BITMAP_H typedef struct _txSample { @@ -13,4 +13,4 @@ int bpRead( char * fname, txSample * bf ); void Convert32to1( txSample * in,txSample * out,int adaptivlimit ); -#endif /* __GUI_BITMAP_H */ +#endif /* GUI_BITMAP_H */
--- a/gui/cfg.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/cfg.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,6 +1,6 @@ -#ifndef __GUI_CFG_H -#define __GUI_CFG_H +#ifndef GUI_CFG_H +#define GUI_CFG_H extern int gtkEnableAudioEqualizer;
--- a/gui/interface.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/interface.h Mon Jul 02 22:34:45 2007 +0000 @@ -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"
--- a/gui/mplayer/common.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/mplayer/common.h Mon Jul 02 22:34:45 2007 +0000 @@ -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>
--- a/gui/mplayer/gmplayer.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/mplayer/gmplayer.h Mon Jul 02 22:34:45 2007 +0000 @@ -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;
--- a/gui/mplayer/gtk/about.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/mplayer/gtk/about.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,6 +1,6 @@ -#ifndef __GUI_ABOUT_H -#define __GUI_ABOUT_H +#ifndef GUI_ABOUT_H +#define GUI_ABOUT_H #include <gtk/gtk.h>
--- a/gui/mplayer/gtk/common.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/mplayer/gtk/common.h Mon Jul 02 22:34:45 2007 +0000 @@ -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>
--- a/gui/mplayer/gtk/eq.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/mplayer/gtk/eq.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,6 +1,6 @@ -#ifndef __GUI_EQ_H -#define __GUI_EQ_H +#ifndef GUI_EQ_H +#define GUI_EQ_H #include <gtk/gtk.h>
--- a/gui/mplayer/gtk/fs.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/mplayer/gtk/fs.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef __GUI_FS_H -#define __GUI_FS_H +#ifndef GUI_FS_H +#define GUI_FS_H #include <gtk/gtk.h>
--- a/gui/mplayer/gtk/mb.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/mplayer/gtk/mb.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,6 +1,6 @@ -#ifndef __GUI_MB_H -#define __GUI_MB_H +#ifndef GUI_MB_H +#define GUI_MB_H #include <gtk/gtk.h>
--- a/gui/mplayer/gtk/menu.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/mplayer/gtk/menu.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef __GUI_MENU_H -#define __GUI_MENU_H +#ifndef GUI_MENU_H +#define GUI_MENU_H #include <gtk/gtk.h>
--- a/gui/mplayer/gtk/opts.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/mplayer/gtk/opts.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,6 +1,6 @@ -#ifndef __GUI_OPTS_H -#define __GUI_OPTS_H +#ifndef GUI_OPTS_H +#define GUI_OPTS_H #include <gtk/gtk.h>
--- a/gui/mplayer/gtk/pl.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/mplayer/gtk/pl.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,6 +1,6 @@ -#ifndef __GUI_PL_H -#define __GUI_PL_H +#ifndef GUI_PL_H +#define GUI_PL_H #include <gtk/gtk.h>
--- a/gui/mplayer/gtk/sb.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/mplayer/gtk/sb.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef __GUI_SB_H -#define __GUI_SB_H +#ifndef GUI_SB_H +#define GUI_SB_H #include <gtk/gtk.h>
--- a/gui/mplayer/gtk/url.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/mplayer/gtk/url.h Mon Jul 02 22:34:45 2007 +0000 @@ -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;
--- a/gui/mplayer/play.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/mplayer/play.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,6 +1,6 @@ -#ifndef __GUI_PLAY_H -#define __GUI_PLAY_H +#ifndef GUI_PLAY_H +#define GUI_PLAY_H #include "../config.h"
--- a/gui/mplayer/widgets.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/mplayer/widgets.h Mon Jul 02 22:34:45 2007 +0000 @@ -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>
--- a/gui/skin/cut.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/skin/cut.h Mon Jul 02 22:34:45 2007 +0000 @@ -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 );
--- a/gui/skin/font.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/skin/font.h Mon Jul 02 22:34:45 2007 +0000 @@ -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"
--- a/gui/skin/skin.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/skin/skin.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,6 +1,6 @@ -#ifndef __GUI_SKIN_H -#define __GUI_SKIN_H +#ifndef GUI_SKIN_H +#define GUI_SKIN_H #include "app.h"
--- a/gui/win32/dialogs.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/win32/dialogs.h Mon Jul 02 22:34:45 2007 +0000 @@ -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)
--- a/gui/win32/gui.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/win32/gui.h Mon Jul 02 22:34:45 2007 +0000 @@ -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"
--- a/gui/win32/playlist.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/win32/playlist.h Mon Jul 02 22:34:45 2007 +0000 @@ -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 {
--- a/gui/win32/skinload.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/win32/skinload.h Mon Jul 02 22:34:45 2007 +0000 @@ -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 {
--- a/gui/win32/wincfg.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/win32/wincfg.h Mon Jul 02 22:34:45 2007 +0000 @@ -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;
--- a/gui/wm/ws.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/wm/ws.h Mon Jul 02 22:34:45 2007 +0000 @@ -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>
--- a/gui/wm/wskeys.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/wm/wskeys.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,6 +1,6 @@ -#ifndef _GUI_WSKEYS_H -#define _GUI_WSKEYS_H +#ifndef GUI_WSKEYS_H +#define GUI_WSKEYS_H #define wsKeyNone -1
--- a/gui/wm/wsxdnd.h Mon Jul 02 22:02:59 2007 +0000 +++ b/gui/wm/wsxdnd.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,6 +1,6 @@ -#ifndef _GUI_WSXDND_H -#define _GUI_WSXDND_H +#ifndef GUI_WSXDND_H +#define GUI_WSXDND_H void wsXDNDInitialize(void);
--- a/libaf/dsp.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libaf/dsp.h Mon Jul 02 22:34:45 2007 +0000 @@ -8,8 +8,8 @@ //============================================================================= */ -#ifndef _DSP_H -#define _DSP_H 1 +#ifndef DSP_H +#define DSP_H /* Implementation of routines used for DSP */
--- a/libaf/filter.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libaf/filter.h Mon Jul 02 22:34:45 2007 +0000 @@ -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
--- a/libaf/window.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libaf/window.h Mon Jul 02 22:34:45 2007 +0000 @@ -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);
--- a/libao2/audio_out.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libao2/audio_out.h Mon Jul 02 22:34:45 2007 +0000 @@ -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 {
--- a/libass/ass.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libass/ass.h Mon Jul 02 22:34:45 2007 +0000 @@ -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"
--- a/libass/ass_bitmap.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libass/ass_bitmap.h Mon Jul 02 22:34:45 2007 +0000 @@ -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;
--- a/libass/ass_cache.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libass/ass_cache.h Mon Jul 02 22:34:45 2007 +0000 @@ -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);
--- a/libass/ass_font.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libass/ass_font.h Mon Jul 02 22:34:45 2007 +0000 @@ -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>
--- a/libass/ass_fontconfig.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libass/ass_fontconfig.h Mon Jul 02 22:34:45 2007 +0000 @@ -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>
--- a/libass/ass_library.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libass/ass_library.h Mon Jul 02 22:34:45 2007 +0000 @@ -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;
--- a/libass/ass_mp.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libass/ass_mp.h Mon Jul 02 22:34:45 2007 +0000 @@ -18,8 +18,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef __ASS_MP_H__ -#define __ASS_MP_H__ +#ifndef ASS_MP_H +#define ASS_MP_H #include "subreader.h"
--- a/libass/ass_types.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libass/ass_types.h Mon Jul 02 22:34:45 2007 +0000 @@ -18,8 +18,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef __ASS_TYPES_H__ -#define __ASS_TYPES_H__ +#ifndef ASS_TYPES_H +#define ASS_TYPES_H #define VALIGN_SUB 0 #define VALIGN_CENTER 8
--- a/libass/ass_utils.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libass/ass_utils.h Mon Jul 02 22:34:45 2007 +0000 @@ -18,8 +18,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef __ASS_UTILS_H__ -#define __ASS_UTILS_H__ +#ifndef ASS_UTILS_H +#define ASS_UTILS_H int mystrtoi(char** p, int base, int* res); int mystrtou32(char** p, int base, uint32_t* res);
--- a/libass/mputils.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libass/mputils.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef __ASS_MPUTILS_H__ -#define __ASS_MPUTILS_H__ +#ifndef ASS_MPUTILS_H +#define ASS_MPUTILS_H #include "mp_msg.h" #include "help_mp.h"
--- a/libmpcodecs/ae.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpcodecs/ae.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,6 +1,6 @@ -#ifndef __MPAE_H__ -#define __MPAE_H__ +#ifndef MPAE_H +#define MPAE_H #define ACODEC_COPY 0 #define ACODEC_PCM 1
--- a/libmpcodecs/ae_lame.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpcodecs/ae_lame.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef __AE_MP3LAME_H_ -#define __AE_MP3LAME_H_ +#ifndef AE_LAME_H +#define AE_LAME_H #include "ae.h"
--- a/libmpcodecs/ae_lavc.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpcodecs/ae_lavc.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef __AE_LAVC_H_ -#define __AE_LAVC_H_ +#ifndef AE_LAVC_H +#define AE_LAVC_H #include "ae.h"
--- a/libmpcodecs/ae_pcm.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpcodecs/ae_pcm.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef __AE_PCM_H_ -#define __AE_PCM_H_ +#ifndef AE_PCM_H +#define AE_PCM_H #include "ae.h"
--- a/libmpcodecs/cmmx.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpcodecs/cmmx.h Mon Jul 02 22:34:45 2007 +0000 @@ -4,8 +4,8 @@ * Author: Zoltan Hidvegi */ -#ifndef __CMMX_H -#define __CMMX_H +#ifndef CMMX_H +#define CMMX_H typedef unsigned long cmmx_t;
--- a/libmpcodecs/img_format.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpcodecs/img_format.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,6 +1,6 @@ -#ifndef __IMG_FORMAT_H -#define __IMG_FORMAT_H +#ifndef IMG_FORMAT_H +#define IMG_FORMAT_H /* RGB/BGR Formats */
--- a/libmpcodecs/mp_image.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpcodecs/mp_image.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef __MP_IMAGE_H -#define __MP_IMAGE_H 1 +#ifndef MP_IMAGE_H +#define MP_IMAGE_H //--------- codec's requirements (filled by the codec/vf) ---------
--- a/libmpdemux/asf.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpdemux/asf.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef __ASF_H -#define __ASF_H +#ifndef ASF_H +#define ASF_H //#include "config.h" /* for WORDS_BIGENDIAN */ #include <inttypes.h>
--- a/libmpdemux/aviheader.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpdemux/aviheader.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef _aviheader_h -#define _aviheader_h +#ifndef AVIHEADER_H +#define AVIHEADER_H //#include "config.h" /* get correct definition WORDS_BIGENDIAN */ #include "libavutil/common.h"
--- a/libmpdemux/demux_rtp.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpdemux/demux_rtp.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,13 +1,13 @@ -#ifndef _DEMUX_RTP_H -#define _DEMUX_RTP_H +#ifndef DEMUX_RTP_H +#define DEMUX_RTP_H #include <stdlib.h> #include <stdio.h> -#ifndef __STREAM_H +#ifndef STREAM_H #include "stream/stream.h" #endif -#ifndef __DEMUXER_H +#ifndef DEMUXER_H #include "demuxer.h" #endif
--- a/libmpdemux/demux_rtp_internal.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpdemux/demux_rtp_internal.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,13 +1,13 @@ -#ifndef _DEMUX_RTP_INTERNAL_H -#define _DEMUX_RTP_INTERNAL_H +#ifndef DEMUX_RTP_INTERNAL_H +#define DEMUX_RTP_INTERNAL_H #include <stdlib.h> extern "C" { -#ifndef __STREAM_H +#ifndef STREAM_H #include "stream/stream.h" #endif -#ifndef __DEMUXER_H +#ifndef DEMUXER_H #include "demuxer.h" #endif #ifdef USE_LIBAVCODEC_SO
--- a/libmpdemux/demuxer.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpdemux/demuxer.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef __DEMUXER_H -#define __DEMUXER_H 1 +#ifndef DEMUXER_H +#define DEMUXER_H #ifdef USE_ASS #include "libass/ass_types.h" @@ -387,4 +387,4 @@ int demuxer_seek_chapter(demuxer_t *demuxer, int chapter, int mode, float *seek_pts, int *num_chapters, char **chapter_name); -#endif /* __DEMUXER_H */ +#endif /* DEMUXER_H */
--- a/libmpdemux/ebml.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpdemux/ebml.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef __EBML_H -#define __EBML_H +#ifndef EBML_H +#define EBML_H #include <inttypes.h> @@ -188,4 +188,4 @@ uint32_t ebml_read_master (stream_t *s, uint64_t *length); char *ebml_read_header (stream_t *s, int *version); -#endif /* __EBML_H */ +#endif /* EBML_H */
--- a/libmpdemux/genres.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpdemux/genres.h Mon Jul 02 22:34:45 2007 +0000 @@ -14,8 +14,8 @@ */ -#ifndef _GENRES_H -#define _GENRES_H +#ifndef GENRES_H +#define GENRES_H char *genres[] = { @@ -278,4 +278,4 @@ }; -#endif /* _GENRES_H */ +#endif /* GENRES_H */
--- a/libmpdemux/matroska.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpdemux/matroska.h Mon Jul 02 22:34:45 2007 +0000 @@ -4,8 +4,8 @@ * see http://cvs.corecodec.org/cgi-bin/cvsweb.cgi/~checkout~/matroska/doc/website/specs/codex.html?rev=HEAD&content-type=text/html */ -#ifndef __MATROSKA_H -#define __MATROSKA_H +#ifndef MATROSKA_H +#define MATROSKA_H #define MKV_A_AAC_2MAIN "A_AAC/MPEG2/MAIN" #define MKV_A_AAC_2LC "A_AAC/MPEG2/LC" @@ -66,4 +66,4 @@ void demux_mkv_get_sub_lang(demuxer_t *demuxer, int track_num, char *lang, int maxlen); -#endif /* __MATROSKA_H */ +#endif /* MATROSKA_H */
--- a/libmpdemux/mf.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpdemux/mf.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,6 +1,6 @@ -#ifndef _MF_H -#define _MF_H +#ifndef MF_H +#define MF_H extern int mf_w; extern int mf_h;
--- a/libmpdemux/mpeg_packetizer.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpdemux/mpeg_packetizer.h Mon Jul 02 22:34:45 2007 +0000 @@ -22,8 +22,8 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef _MPEG_PACKETIZER_H_ -#define _MPEG_PACKETIZER_H_ +#ifndef MPEG_PACKETIZER_H +#define MPEG_PACKETIZER_H /* Send MPEG <type> PES packet */ int send_mpeg_pes_packet (unsigned char *data, int len, int id, uint64_t pts, @@ -38,4 +38,4 @@ int id, uint64_t pts, int freq_id, int my_write (unsigned char *data, int len)); -#endif /* _MPEG_PACKETIZER_H_ */ +#endif /* MPEG_PACKETIZER_H */
--- a/libmpdemux/ms_hdr.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpdemux/ms_hdr.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef __MS_HDR_H -#define __MS_HDR_H +#ifndef MS_HDR_H +#define MS_HDR_H #ifndef _WAVEFORMATEX_ #define _WAVEFORMATEX_
--- a/libmpdemux/parse_mp4.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpdemux/parse_mp4.h Mon Jul 02 22:34:45 2007 +0000 @@ -4,8 +4,8 @@ * File licensed under the GPL, see http://www.fsf.org/ for more info. */ -#ifndef __PARSE_MP4_H -#define __PARSE_MP4_H 1 +#ifndef PARSE_MP4_H +#define PARSE_MP4_H #include <inttypes.h> @@ -107,5 +107,5 @@ int mp4_parse_esds(unsigned char *data, int datalen, esds_t *esds); void mp4_free_esds(esds_t *esds); -#endif /* !__PARSE_MP4_H */ +#endif /* !PARSE_MP4_H */
--- a/libmpdemux/stheader.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpdemux/stheader.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef __STHEADER_H__ -#define __STHEADER_H__ +#ifndef STHEADER_H +#define STHEADER_H #include "aviheader.h" #include "ms_hdr.h"
--- a/libmpdemux/yuv4mpeg.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpdemux/yuv4mpeg.h Mon Jul 02 22:34:45 2007 +0000 @@ -24,8 +24,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef __YUV4MPEG_H__ -#define __YUV4MPEG_H__ +#ifndef YUV4MPEG_H +#define YUV4MPEG_H #include <stdlib.h> //#include "mp_msg.h" @@ -449,6 +449,6 @@ ************************************************************************ ************************************************************************/ -#endif /* __YUV4MPEG_H__ */ +#endif /* YUV4MPEG_H */
--- a/libmpdemux/yuv4mpeg_intern.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libmpdemux/yuv4mpeg_intern.h Mon Jul 02 22:34:45 2007 +0000 @@ -19,8 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef __YUV4MPEG_INTERN_H__ -#define __YUV4MPEG_INTERN_H__ +#ifndef YUV4MPEG_INTERN_H +#define YUV4MPEG_INTERN_H #define Y4M_MAGIC "YUV4MPEG2" @@ -75,4 +75,4 @@ #define Y4M_DAR_MPEG2_3 { 16, 9 } #define Y4M_DAR_MPEG2_4 { 221, 100 } -#endif /* __YUV4MPEG_INTERN_H__ */ +#endif /* YUV4MPEG_INTERN_H */
--- a/libvo/aspect.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libvo/aspect.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef __ASPECT_H -#define __ASPECT_H +#ifndef ASPECT_H +#define ASPECT_H /* Stuff for correct aspect scaling. */ extern int vo_panscan_x;
--- a/libvo/fastmemcpy.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libvo/fastmemcpy.h Mon Jul 02 22:34:45 2007 +0000 @@ -16,8 +16,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef __FASTMEMCPY_H -#define __FASTMEMCPY_H +#ifndef FASTMEMCPY_H +#define FASTMEMCPY_H #include "config.h" #include <inttypes.h>
--- a/libvo/font_load.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libvo/font_load.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef __MPLAYER_FONT_LOAD_H -#define __MPLAYER_FONT_LOAD_H +#ifndef MPLAYER_FONT_LOAD_H +#define MPLAYER_FONT_LOAD_H #ifdef HAVE_FREETYPE #include <ft2build.h> @@ -102,4 +102,4 @@ raw_file* load_raw(char *name,int verbose); font_desc_t* read_font_desc(const char* fname,float factor,int verbose); -#endif /* ! __MPLAYER_FONT_LOAD_H */ +#endif /* ! MPLAYER_FONT_LOAD_H */
--- a/libvo/geometry.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libvo/geometry.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,9 +1,9 @@ /* This file (C) Mark Zealey <mark@zealos.org 2002, released under GPL */ -#ifndef __GEOMETRY_H -#define __GEOMETRY_H +#ifndef GEOMETRY_H +#define GEOMETRY_H extern char *vo_geometry; extern int geometry_wh_changed; extern int geometry_xy_changed; int geometry(int *xpos, int *ypos, int *widw, int *widh, int scrw, int scrh); -#endif /* !__GEOMETRY_H */ +#endif /* !GEOMETRY_H */
--- a/libvo/gl_common.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libvo/gl_common.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef __GL_COMMON_H__ -#define __GL_COMMON_H__ +#ifndef GL_COMMON_H +#define GL_COMMON_H #include "mp_msg.h" #include "config.h"
--- a/libvo/gtf.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libvo/gtf.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef __GTF_H -#define __GTF_H +#ifndef GTF_H +#define GTF_H #include <vbe.h>
--- a/libvo/osd.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libvo/osd.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,6 +1,6 @@ -#ifndef __MPLAYER_OSD_H -#define __MPLAYER_OSD_H +#ifndef MPLAYER_OSD_H +#define MPLAYER_OSD_H // Generic alpha renderers for all YUV modes and RGB depths. // These are "reference implementations", should be optimized later (MMX, etc)
--- a/libvo/sub.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libvo/sub.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,6 +1,6 @@ -#ifndef __MPLAYER_SUB_H -#define __MPLAYER_SUB_H +#ifndef MPLAYER_SUB_H +#define MPLAYER_SUB_H typedef struct mp_osd_bbox_s { int x1,y1,x2,y2;
--- a/libvo/vesa_lvo.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libvo/vesa_lvo.h Mon Jul 02 22:34:45 2007 +0000 @@ -9,8 +9,8 @@ * This file contains vo_vesa interface to Linux Video Overlay. */ -#ifndef __VESA_LVO_H -#define __VESA_LVO_H +#ifndef VESA_LVO_H +#define VESA_LVO_H int vlvo_preinit(const char *drvname); int vlvo_init(unsigned src_width,unsigned src_height,
--- a/libvo/video_out.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libvo/video_out.h Mon Jul 02 22:34:45 2007 +0000 @@ -7,8 +7,8 @@ * */ -#ifndef __VIDEO_OUT_H -#define __VIDEO_OUT_H 1 +#ifndef VIDEO_OUT_H +#define VIDEO_OUT_H #include <inttypes.h> #include <stdarg.h>
--- a/libvo/vosub_vidix.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libvo/vosub_vidix.h Mon Jul 02 22:34:45 2007 +0000 @@ -9,8 +9,8 @@ * This file contains vosub_vidix interface to any mplayer's VO driver */ -#ifndef __VOSUB_VIDIX_H -#define __VOSUB_VIDIX_H +#ifndef VOSUB_VIDIX_H +#define VOSUB_VIDIX_H /* drvname can be NULL */ int vidix_preinit(const char *drvname,void *server);
--- a/libvo/wskeys.h Mon Jul 02 22:02:59 2007 +0000 +++ b/libvo/wskeys.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,6 +1,6 @@ -#ifndef _WSKEYS_H -#define _WSKEYS_H +#ifndef WSKEYS_H +#define WSKEYS_H #define wsosbrackets '[' #define wscsbrackets ']'
--- a/m_config.h Mon Jul 02 22:02:59 2007 +0000 +++ b/m_config.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef _M_CONFIG_H -#define _M_CONFIG_H +#ifndef M_CONFIG_H +#define M_CONFIG_H /// \defgroup Config Config manager /// @@ -197,4 +197,4 @@ ///@} -#endif /* _M_CONFIG_H */ +#endif /* M_CONFIG_H */
--- a/m_option.h Mon Jul 02 22:02:59 2007 +0000 +++ b/m_option.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef _M_OPTION_H -#define _M_OPTION_H +#ifndef M_OPTION_H +#define M_OPTION_H /// \defgroup Options /// m_option allows to parse, print and copy data of various types. @@ -500,4 +500,4 @@ /*@}*/ -#endif /* _M_OPTION_H */ +#endif /* M_OPTION_H */
--- a/m_struct.h Mon Jul 02 22:02:59 2007 +0000 +++ b/m_struct.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef _M_STRUCT_H -#define _M_STRUCT_H +#ifndef M_STRUCT_H +#define M_STRUCT_H /// \defgroup OptionsStruct Options struct /// \ingroup Options @@ -105,4 +105,4 @@ ///@} -#endif /* _M_STRUCT_H */ +#endif /* M_STRUCT_H */
--- a/mangle.h Mon Jul 02 22:02:59 2007 +0000 +++ b/mangle.h Mon Jul 02 22:34:45 2007 +0000 @@ -4,8 +4,8 @@ * File licensed under the GPL, see http://www.fsf.org/ for more info. */ -#ifndef __MANGLE_H -#define __MANGLE_H +#ifndef MANGLE_H +#define MANGLE_H /* Feel free to add more to the list, eg. a.out IMO */ #if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__OS2__) || \ @@ -15,5 +15,5 @@ #define MANGLE(a) #a #endif -#endif /* !__MANGLE_H */ +#endif /* !MANGLE_H */
--- a/metadata.h Mon Jul 02 22:02:59 2007 +0000 +++ b/metadata.h Mon Jul 02 22:34:45 2007 +0000 @@ -17,8 +17,8 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef _METADATA_H_ -#define _METADATA_H_ +#ifndef METADATA_H +#define METADATA_H typedef enum metadata_s metadata_t; enum metadata_s { @@ -47,5 +47,5 @@ char *get_metadata (metadata_t type); -#endif /* _METADATA_H_ */ +#endif /* METADATA_H */
--- a/mp_msg.h Mon Jul 02 22:02:59 2007 +0000 +++ b/mp_msg.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,6 +1,6 @@ -#ifndef _MP_MSG_H -#define _MP_MSG_H +#ifndef MP_MSG_H +#define MP_MSG_H // defined in mplayer.c and mencoder.c extern int verbose;
--- a/playtree.h Mon Jul 02 22:02:59 2007 +0000 +++ b/playtree.h Mon Jul 02 22:34:45 2007 +0000 @@ -2,8 +2,8 @@ /// \file /// \ingroup Playtree -#ifndef __PLAYTREE_H -#define __PLAYTREE_H +#ifndef PLAYTREE_H +#define PLAYTREE_H struct stream_st; struct m_config;
--- a/playtreeparser.h Mon Jul 02 22:02:59 2007 +0000 +++ b/playtreeparser.h Mon Jul 02 22:34:45 2007 +0000 @@ -8,8 +8,8 @@ /// \file -#ifndef __PLAYTREEPARSER_H -#define __PLAYTREEPARSER_H +#ifndef PLAYTREEPARSER_H +#define PLAYTREEPARSER_H struct stream_st;
--- a/spudec.h Mon Jul 02 22:02:59 2007 +0000 +++ b/spudec.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef _MPLAYER_SPUDEC_H -#define _MPLAYER_SPUDEC_H +#ifndef MPLAYER_SPUDEC_H +#define MPLAYER_SPUDEC_H #include "libvo/video_out.h"
--- a/stream/audio_in.h Mon Jul 02 22:02:59 2007 +0000 +++ b/stream/audio_in.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef _audio_in_h -#define _audio_in_h +#ifndef AUDIO_IN_H +#define AUDIO_IN_H #define AUDIO_IN_ALSA 1 #define AUDIO_IN_OSS 2 @@ -72,4 +72,4 @@ int ai_oss_init(audio_in_t *ai); #endif -#endif /* _audio_in_h */ +#endif /* AUDIO_IN_H */
--- a/stream/cache2.h Mon Jul 02 22:02:59 2007 +0000 +++ b/stream/cache2.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef _cache2_h -#define _cache2_h +#ifndef CACHE2_H +#define CACHE2_H extern void cache_uninit(stream_t *s);
--- a/stream/cdd.h Mon Jul 02 22:02:59 2007 +0000 +++ b/stream/cdd.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef __CDD_H__ -#define __CDD_H__ +#ifndef CDD_H +#define CDD_H #include "config.h" #ifndef HAVE_LIBCDIO @@ -74,4 +74,4 @@ void cd_info_debug(cd_info_t *cd_info); -#endif // __CDD_H__ +#endif /* CDD_H */
--- a/stream/cookies.h Mon Jul 02 22:02:59 2007 +0000 +++ b/stream/cookies.h Mon Jul 02 22:34:45 2007 +0000 @@ -5,8 +5,8 @@ * by Dave Lambley <mplayer@davel.me.uk> */ -#ifndef __COOKIES_H -#define __COOKIES_H +#ifndef COOKIES_H +#define COOKIES_H #include "http.h"
--- a/stream/http.h Mon Jul 02 22:02:59 2007 +0000 +++ b/stream/http.h Mon Jul 02 22:34:45 2007 +0000 @@ -4,8 +4,8 @@ * (C) 2001, MPlayer team. */ -#ifndef __HTTP_H -#define __HTTP_H +#ifndef HTTP_H +#define HTTP_H typedef struct HTTP_field_type { char *field_name; @@ -49,4 +49,4 @@ void http_debug_hdr( HTTP_header_t *http_hdr ); int base64_encode(const void *enc, int encLen, char *out, int outMax); -#endif // __HTTP_H +#endif /* HTTP_H */
--- a/stream/librtsp/rtsp_rtp.h Mon Jul 02 22:02:59 2007 +0000 +++ b/stream/librtsp/rtsp_rtp.h Mon Jul 02 22:34:45 2007 +0000 @@ -18,8 +18,8 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef _HAVE_RTSP_RTP_H_ -#define _HAVE_RTSP_RTP_H_ +#ifndef HAVE_RTSP_RTP_H +#define HAVE_RTSP_RTP_H #include "rtsp.h" @@ -37,5 +37,5 @@ void rtp_session_free (struct rtp_rtsp_session_t *st); void rtcp_send_rr (rtsp_t *s, struct rtp_rtsp_session_t *st); -#endif /* _HAVE_RTSP_RTP_H_ */ +#endif /* HAVE_RTSP_RTP_H */
--- a/stream/network.h Mon Jul 02 22:02:59 2007 +0000 +++ b/stream/network.h Mon Jul 02 22:34:45 2007 +0000 @@ -4,8 +4,8 @@ * (C) 2001, MPlayer team. */ -#ifndef __NETWORK_H -#define __NETWORK_H +#ifndef NETWORK_H +#define NETWORK_H #include <fcntl.h> #include <sys/time.h>
--- a/stream/realrtsp/xbuffer.h Mon Jul 02 22:02:59 2007 +0000 +++ b/stream/realrtsp/xbuffer.h Mon Jul 02 22:34:45 2007 +0000 @@ -14,8 +14,8 @@ */ -#ifndef _XCL_H_ -#define _XCL_H_ +#ifndef XCL_H +#define XCL_H void *xbuffer_init(int chunk_size); void *xbuffer_free(void *buf);
--- a/stream/rtp.h Mon Jul 02 22:02:59 2007 +0000 +++ b/stream/rtp.h Mon Jul 02 22:34:45 2007 +0000 @@ -5,8 +5,8 @@ * $Id$ */ -#ifndef _RTP_H -#define _RTP_H +#ifndef RTP_H +#define RTP_H int read_rtp_from_server(int fd, char *buffer, int length);
--- a/stream/stream.h Mon Jul 02 22:02:59 2007 +0000 +++ b/stream/stream.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef __STREAM_H -#define __STREAM_H +#ifndef STREAM_H +#define STREAM_H #include "mp_msg.h" #include <string.h> @@ -312,4 +312,4 @@ int channels; } stream_language_t; -#endif // __STREAM_H +#endif // STREAM_H
--- a/stream/stream_dvdnav.h Mon Jul 02 22:02:59 2007 +0000 +++ b/stream/stream_dvdnav.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef _MPLAYER_DVDNAV_STREAM_H -#define _MPLAYER_DVDNAV_STREAM_H +#ifndef MPLAYER_STREAM_DVDNAV_H +#define MPLAYER_STREAM_DVDNAV_H #include <dvdnav.h>
--- a/stream/stream_radio.h Mon Jul 02 22:02:59 2007 +0000 +++ b/stream/stream_radio.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef _H_STREAM_RADIO_ -#define _H_STREAM_RADIO_ +#ifndef STREAM_RADIO_H +#define STREAM_RADIO_H #ifdef USE_RADIO #define RADIO_CHANNEL_LOWER 1
--- a/stream/tcp.h Mon Jul 02 22:02:59 2007 +0000 +++ b/stream/tcp.h Mon Jul 02 22:34:45 2007 +0000 @@ -19,8 +19,8 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef _TCP_H_ -#define _TCP_H_ +#ifndef TCP_H +#define TCP_H /* Connect to a server using a TCP connection */ int connect2Server (char *host, int port, int verb); @@ -29,4 +29,4 @@ #define TCP_ERROR_FATAL -2 /* unable to resolve name */ #define TCP_ERROR_PORT -1 /* unable to connect to a particular port */ -#endif /* _TCP_H_ */ +#endif /* TCP_H */
--- a/stream/udp.h Mon Jul 02 22:02:59 2007 +0000 +++ b/stream/udp.h Mon Jul 02 22:34:45 2007 +0000 @@ -17,9 +17,9 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef _UDP_H_ -#define _UDP_H_ +#ifndef UDP_H +#define UDP_H int udp_open_socket (URL_t *url); -#endif /* _UDP_H_ */ +#endif /* UDP_H */
--- a/stream/url.h Mon Jul 02 22:02:59 2007 +0000 +++ b/stream/url.h Mon Jul 02 22:34:45 2007 +0000 @@ -4,10 +4,10 @@ * (C) 2001, MPlayer team. */ -#ifndef __URL_H -#define __URL_H +#ifndef URL_H +#define URL_H -//#define __URL_DEBUG +//#define URL_DEBUG typedef struct { char *url; @@ -26,8 +26,8 @@ void url_unescape_string(char *outbuf, const char *inbuf); void url_escape_string(char *outbuf, const char *inbuf); -#ifdef __URL_DEBUG +#ifdef URL_DEBUG void url_debug(const URL_t* url); -#endif // __URL_DEBUG +#endif /* URL_DEBUG */ -#endif // __URL_H +#endif /* URL_H */
--- a/subreader.h Mon Jul 02 22:02:59 2007 +0000 +++ b/subreader.h Mon Jul 02 22:34:45 2007 +0000 @@ -1,5 +1,5 @@ -#ifndef __MPLAYER_SUBREADER_H -#define __MPLAYER_SUBREADER_H +#ifndef MPLAYER_SUBREADER_H +#define MPLAYER_SUBREADER_H #include <stdio.h>
--- a/xvid_vbr.h Mon Jul 02 22:02:59 2007 +0000 +++ b/xvid_vbr.h Mon Jul 02 22:34:45 2007 +0000 @@ -23,8 +23,8 @@ * *****************************************************************************/ -#ifndef __XVID_VBR_H__ -#define __XVID_VBR_H__ +#ifndef XVID_VBR_H +#define XVID_VBR_H #define VBR_VERSION 0