Commit 52534c43 authored by Olivier Crête's avatar Olivier Crête

Prefix include guards

The include file names are very generic, at least make
the guards a bit less generic.

https://bugs.freedesktop.org/show_bug.cgi?id=90013
parent 96f86788
......@@ -37,8 +37,8 @@
* file under either the MPL or the LGPL.
*/
#ifndef _ADDRESS_H
#define _ADDRESS_H
#ifndef __LIBNICE_ADDRESS_H__
#define __LIBNICE_ADDRESS_H__
/**
* SECTION:address
......@@ -303,5 +303,5 @@ nice_address_ip_version (const NiceAddress *addr);
G_END_DECLS
#endif /* _ADDRESS_H */
#endif /* __LIBNICE_ADDRESS_H__ */
......@@ -37,8 +37,8 @@
* file under either the MPL or the LGPL.
*/
#ifndef _AGENT_H
#define _AGENT_H
#ifndef __LIBNICE_AGENT_H__
#define __LIBNICE_AGENT_H__
/**
* SECTION:agent
......@@ -1580,4 +1580,4 @@ nice_agent_get_component_state (NiceAgent *agent,
G_END_DECLS
#endif /* _AGENT_H */
#endif /* __LIBNICE_AGENT_H__ */
......@@ -37,8 +37,8 @@
* file under either the MPL or the LGPL.
*/
#ifndef _CANDIDATE_H
#define _CANDIDATE_H
#ifndef __LIBNICE_CANDIDATE_H__
#define __LIBNICE_CANDIDATE_H__
#include <glib.h>
#include <glib-object.h>
......@@ -241,5 +241,5 @@ GType nice_candidate_get_type (void);
G_END_DECLS
#endif /* _CANDIDATE_H */
#endif /* __LIBNICE_CANDIDATE_H__ */
......@@ -34,8 +34,8 @@
* file under either the MPL or the LGPL.
*/
#ifndef _DEBUG_H
#define _DEBUG_H
#ifndef __LIBNICE_DEBUG_H__
#define __LIBNICE_DEBUG_H__
/**
......@@ -101,5 +101,5 @@ void nice_debug_disable (gboolean with_stun);
G_END_DECLS
#endif /* _DEBUG_H */
#endif /* __LIBNICE_DEBUG_H__ */
......@@ -22,8 +22,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef __INTERFACES_H__
#define __INTERFACES_H__
#ifndef __LIBNICE_INTERFACES_H__
#define __LIBNICE_INTERFACES_H__
/**
* SECTION:interfaces
......@@ -79,4 +79,4 @@ GList * nice_interfaces_get_local_interfaces (void);
G_END_DECLS
#endif
#endif /* __LIBNICE_INTERFACES_H__ */
......@@ -35,8 +35,8 @@
* file under either the MPL or the LGPL.
*/
#ifndef _PSEUDOTCP_H
#define _PSEUDOTCP_H
#ifndef __LIBNICE_PSEUDOTCP_H__
#define __LIBNICE_PSEUDOTCP_H__
/**
* SECTION:pseudotcp
......@@ -586,5 +586,5 @@ gboolean pseudo_tcp_socket_is_closed_remotely (PseudoTcpSocket *self);
G_END_DECLS
#endif /* _PSEUDOTCP_H */
#endif /* __LIBNICE_PSEUDOTCP_H__ */
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