Commit e3cbd739 authored by Filip Roséen's avatar Filip Roséen Committed by Jean-Baptiste Kempf

D-Bus control: fixed include-guards

  * renamed include-guards to fix issues with reserved identifiers
  * replaced comments at `#endif` corresponding to include-guards
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent ffa4c9c3
......@@ -26,8 +26,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef _VLC_DBUS_COMMON_H
#define _VLC_DBUS_COMMON_H
#ifndef VLC_DBUS_DBUS_COMMON_H_
#define VLC_DBUS_DBUS_COMMON_H_
#include <vlc_common.h>
#include <vlc_interface.h>
......@@ -146,4 +146,4 @@ int AddProperty ( intf_thread_t *p_intf,
const char* psz_signature,
int (*pf_marshaller) (intf_thread_t*, DBusMessageIter*) );
#endif //dbus-common.h
#endif /* include-guard */
......@@ -26,8 +26,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef _VLC_DBUS_INTROSPECT_H
#define _VLC_DBUS_INTROSPECT_H
#ifndef VLC_DBUS_DBUS_INTROSPECT_H_
#define VLC_DBUS_DBUS_INTROSPECT_H_
#include "dbus_common.h"
......@@ -153,4 +153,4 @@ DBUS_METHOD( handle_introspect )
REPLY_SEND;
}
#endif //dbus-introspect.h
#endif /* include-guard */
......@@ -24,8 +24,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef _VLC_DBUS_PLAYER_H
#define _VLC_DBUS_PLAYER_H
#ifndef VLC_DBUS_DBUS_PLAYER_H_
#define VLC_DBUS_DBUS_PLAYER_H_
#include <vlc_interface.h>
#include "dbus_common.h"
......@@ -73,4 +73,4 @@ int PlayerPropertiesChangedEmit( intf_thread_t *, vlc_dictionary_t * );
void UpdatePlayerCaps( intf_thread_t * );
#endif //dbus_player.h
#endif /* include-guard */
......@@ -24,8 +24,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef _VLC_DBUS_ROOT_H
#define _VLC_DBUS_ROOT_H
#ifndef VLC_DBUS_DBUS_ROOT_H_
#define VLC_DBUS_DBUS_ROOT_H_
#include "dbus_common.h"
......@@ -39,4 +39,4 @@ DBusHandlerResult handle_root ( DBusConnection *p_conn,
int RootPropertiesChangedEmit ( intf_thread_t *,
vlc_dictionary_t * );
#endif //dbus-root.h
#endif /* include-guard */
......@@ -24,8 +24,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef _VLC_DBUS_TRACKLIST_H
#define _VLC_DBUS_TRACKLIST_H
#ifndef VLC_DBUS_DBUS_TRACKLIST_H_
#define VLC_DBUS_DBUS_TRACKLIST_H_
#include <vlc_common.h>
#include <vlc_interface.h>
......@@ -44,4 +44,4 @@ DBusHandlerResult handle_tracklist ( DBusConnection *p_conn,
int TrackListPropertiesChangedEmit( intf_thread_t *, vlc_dictionary_t * );
#endif //dbus_tracklist.h
#endif /* include-guard */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment