Skip to content

Commit

Permalink
Headers: use non-reserved identifiers for multi-inclusion protection
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémi Denis-Courmont committed Aug 11, 2008
1 parent 3c1f9b9 commit c0f4bfc
Show file tree
Hide file tree
Showing 52 changed files with 104 additions and 104 deletions.
4 changes: 2 additions & 2 deletions include/vlc/deprecated.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/

#ifndef _LIBVLC_DEPRECATED_H
#define _LIBVLC_DEPRECATED_H 1
#ifndef LIBVLC_DEPRECATED_H
#define LIBVLC_DEPRECATED_H 1

# ifdef __cplusplus
extern "C" {
Expand Down
4 changes: 2 additions & 2 deletions include/vlc/libvlc_events.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/

#ifndef _LIBVLC_EVENTS_H
#define _LIBVLC_EVENTS_H 1
#ifndef LIBVLC_EVENTS_H
#define LIBVLC_EVENTS_H 1

# ifdef __cplusplus
extern "C" {
Expand Down
4 changes: 2 additions & 2 deletions include/vlc/libvlc_media_list.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 _LIBVLC_MEDIA_LIST_H
#define _LIBVLC_MEDIA_LIST_H 1
#ifndef LIBVLC_MEDIA_LIST_H
#define LIBVLC_MEDIA_LIST_H 1

# ifdef __cplusplus
extern "C" {
Expand Down
4 changes: 2 additions & 2 deletions include/vlc/libvlc_structures.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 _LIBVLC_STRUCTURES_H
#define _LIBVLC_STRUCTURES_H 1
#ifndef LIBVLC_STRUCTURES_H
#define LIBVLC_STRUCTURES_H 1

#include <stdint.h>

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

#ifndef _LIBVLC_VLM_H
#define _LIBVLC_VLM_H 1
#ifndef LIBVLC_VLM_H
#define LIBVLC_VLM_H 1

# ifdef __cplusplus
extern "C" {
Expand Down
4 changes: 2 additions & 2 deletions include/vlc/mediacontrol.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
*/


#ifndef _VLC_CONTROL_H
#define _VLC_CONTROL_H 1
#ifndef VLC_CONTROL_H
#define VLC_CONTROL_H 1

# ifdef __cplusplus
extern "C" {
Expand Down
4 changes: 2 additions & 2 deletions include/vlc/mediacontrol_structures.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
* @{
*/

#ifndef _VLC_CONTROL_STRUCTURES_H
#define _VLC_CONTROL_STRUCTURES_H 1
#ifndef VLC_CONTROL_STRUCTURES_H
#define VLC_CONTROL_STRUCTURES_H 1

# ifdef __cplusplus
extern "C" {
Expand Down
4 changes: 2 additions & 2 deletions include/vlc/vlc.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/

#ifndef _VLC_VLC_H
#define _VLC_VLC_H 1
#ifndef VLC_VLC_H
#define VLC_VLC_H 1

# ifdef __cplusplus
extern "C" {
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_access.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 _VLC_ACCESS_H
#define _VLC_ACCESS_H 1
#ifndef VLC_ACCESS_H
#define VLC_ACCESS_H 1

#include <vlc_block.h>

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

#ifndef __VLC_ACL_H
# define __VLC_ACL_H
#ifndef VLC_ACL_H
# define VLC_ACL_H

#define ACL_Create(a, b) __ACL_Create(VLC_OBJECT(a), b)
#define ACL_Duplicate(a,b) __ACL_Duplicate(VLC_OBJECT(a),b)
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_aout.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 _VLC_AOUT_H
#define _VLC_AOUT_H 1
#ifndef VLC_AOUT_H
#define VLC_AOUT_H 1

# ifdef __cplusplus
extern "C" {
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_arrays.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/

#ifndef _VLC_ARRAYS_H_
#define _VLC_ARRAYS_H_
#ifndef VLC_ARRAYS_H_
#define VLC_ARRAYS_H_

/**
* Simple dynamic array handling. Array is realloced at each insert/removal
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_bits.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 _VLC_BITS_H
#define _VLC_BITS_H 1
#ifndef VLC_BITS_H
#define VLC_BITS_H 1

typedef struct bs_s
{
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_block.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 _VLC_BLOCK_H
#define _VLC_BLOCK_H 1
#ifndef VLC_BLOCK_H
#define VLC_BLOCK_H 1

/****************************************************************************
* block:
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_block_helper.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 _VLC_BLOCK_HELPER_H
#define _VLC_BLOCK_HELPER_H 1
#ifndef VLC_BLOCK_HELPER_H
#define VLC_BLOCK_HELPER_H 1

#include <vlc_block.h>

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

#ifndef __VLC_CHARSET_H
#define __VLC_CHARSET_H 1
#ifndef VLC_CHARSET_H
#define VLC_CHARSET_H 1

#include <stdarg.h>
#include <sys/types.h>
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_codec.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 _VLC_CODEC_H
#define _VLC_CODEC_H 1
#ifndef VLC_CODEC_H
#define VLC_CODEC_H 1

#include <vlc_block.h>
#include <vlc_es.h>
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_codecs.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 _VLC_CODECS_H
#define _VLC_CODECS_H 1
#ifndef VLC_CODECS_H
#define VLC_CODECS_H 1

#ifdef HAVE_ATTRIBUTE_PACKED
# define ATTR_PACKED __attribute__((__packed__))
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_config_cat.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/

#ifndef _VLC_HELP_H
#define _VLC_HELP_H 1
#ifndef VLC_HELP_H
#define VLC_HELP_H 1

/*
* First, we need help strings for the General Settings and for the
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/

#ifndef _VLC_CONFIGURATION_H
#define _VLC_CONFIGURATION_H 1
#ifndef VLC_CONFIGURATION_H
#define VLC_CONFIGURATION_H 1


# ifdef __cplusplus
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_demux.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 _VLC_DEMUX_H
#define _VLC_DEMUX_H 1
#ifndef VLC_DEMUX_H
#define VLC_DEMUX_H 1

#include <vlc_es.h>
#include <vlc_stream.h>
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_devices.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 _VLC_DEVICES_H
#define _VLC_DEVICES_H 1
#ifndef VLC_DEVICES_H
#define VLC_DEVICES_H 1

enum
{
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_epg.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 _VLC_EPG_H
#define _VLC_EPG_H 1
#ifndef VLC_EPG_H
#define VLC_EPG_H 1

typedef struct
{
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_es.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 _VLC_ES_H
#define _VLC_ES_H 1
#ifndef VLC_ES_H
#define VLC_ES_H 1

/* FIXME: i'm not too sure about this include but it fixes compilation of
* video chromas -- dionoea */
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_es_out.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 _VLC_ES_OUT_H
#define _VLC_ES_OUT_H 1
#ifndef VLC_ES_OUT_H
#define VLC_ES_OUT_H 1

/**
* \defgroup es out Es Out
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/

#ifndef _VLC_FILTER_H
#define _VLC_FILTER_H 1
#ifndef VLC_FILTER_H
#define VLC_FILTER_H 1

#include <vlc_es.h>

Expand Down
4 changes: 2 additions & 2 deletions include/vlc_httpd.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 _VLC_HTTPD_H
#define _VLC_HTTPD_H 1
#ifndef VLC_HTTPD_H
#define VLC_HTTPD_H 1

enum
{
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_image.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 _VLC_IMAGE_H
#define _VLC_IMAGE_H 1
#ifndef VLC_IMAGE_H
#define VLC_IMAGE_H 1

#include <vlc_vout.h>

Expand Down
4 changes: 2 additions & 2 deletions include/vlc_input.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
*****************************************************************************/

/* __ is need because conflict with <vlc/input.h> */
#ifndef _VLC__INPUT_H
#define _VLC__INPUT_H 1
#ifndef VLC__INPUT_H
#define VLC__INPUT_H 1

#include <vlc_es.h>
#include <vlc_meta.h>
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/

#ifndef _VLC_INTF_H_
#define _VLC_INTF_H_
#ifndef VLC_INTF_H_
#define VLC_INTF_H_

# ifdef __cplusplus
extern "C" {
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_intf_strings.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 _VLC_ISTRINGS_H
#define _VLC_ISTRINGS_H 1
#ifndef VLC_INTF_STRINGS_H
#define VLC_INTF_STRINGS_H 1

/*************** Open dialogs **************/

Expand Down
4 changes: 2 additions & 2 deletions include/vlc_keys.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 _VLC_KEYS_H
#define _VLC_KEYS_H 1
#ifndef VLC_KEYS_H
#define VLC_KEYS_H 1

#define KEY_MODIFIER 0xFF000000
#define KEY_MODIFIER_ALT 0x01000000
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_md5.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/

#ifndef _VLC_MD5_H
# define _VLC_MD5_H
#ifndef VLC_MD5_H
# define VLC_MD5_H

/*****************************************************************************
* md5_s: MD5 message structure
Expand Down
4 changes: 2 additions & 2 deletions include/vlc_messages.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/

#ifndef _VLC_MESSAGES_H_
#define _VLC_MESSAGES_H_
#ifndef VLC_MESSAGES_H_
#define VLC_MESSAGES_H_

#include <stdarg.h>

Expand Down
4 changes: 2 additions & 2 deletions include/vlc_meta.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 _VLC_META_H
#define _VLC_META_H 1
#ifndef VLC_META_H
#define VLC_META_H 1

#include <vlc_arrays.h>

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

#ifndef __VLC_NETWORK_H
# define __VLC_NETWORK_H
#ifndef VLC_NETWORK_H
# define VLC_NETWORK_H

#if defined( WIN32 )
# if !defined(UNDER_CE)
Expand Down
Loading

0 comments on commit c0f4bfc

Please sign in to comment.