summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2015-04-20 15:44:16 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2015-04-20 15:44:16 -0400
commit52534c43be1fdc74cd15f64ba28b8e753c212b62 (patch)
treebae76b0c1b3acd084df468b0fc0221afc04b4214
parent96f86788283e358455cd23f4a87997c20a58f36e (diff)
downloadlibnice-52534c43be1fdc74cd15f64ba28b8e753c212b62.tar.gz
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
-rw-r--r--agent/address.h6
-rw-r--r--agent/agent.h6
-rw-r--r--agent/candidate.h6
-rw-r--r--agent/debug.h6
-rw-r--r--agent/interfaces.h6
-rw-r--r--agent/pseudotcp.h6
6 files changed, 18 insertions, 18 deletions
diff --git a/agent/address.h b/agent/address.h
index 603afe2..fa555b2 100644
--- a/agent/address.h
+++ b/agent/address.h
@@ -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__ */
diff --git a/agent/agent.h b/agent/agent.h
index a7da06f..5d38839 100644
--- a/agent/agent.h
+++ b/agent/agent.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__ */
diff --git a/agent/candidate.h b/agent/candidate.h
index 3111a4d..5e0eaf3 100644
--- a/agent/candidate.h
+++ b/agent/candidate.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__ */
diff --git a/agent/debug.h b/agent/debug.h
index 20816e8..c1a6473 100644
--- a/agent/debug.h
+++ b/agent/debug.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__ */
diff --git a/agent/interfaces.h b/agent/interfaces.h
index cb76626..50c627e 100644
--- a/agent/interfaces.h
+++ b/agent/interfaces.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__ */
diff --git a/agent/pseudotcp.h b/agent/pseudotcp.h
index f08318a..879276e 100644
--- a/agent/pseudotcp.h
+++ b/agent/pseudotcp.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__ */