aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2016-06-29 10:12:57 +0200
committerMarkus Armbruster <armbru@redhat.com>2016-07-12 16:19:16 +0200
commit118ce6f75509c827c76a52a6ed085ae6a91672da (patch)
treec0d784119d12a1627811ae290974b664e0a6df79
parent97a03b9847841a4e4bdca3eeba35aa19e68ac6a3 (diff)
downloadslirp-118ce6f75509c827c76a52a6ed085ae6a91672da.zip
slirp-118ce6f75509c827c76a52a6ed085ae6a91672da.tar.gz
slirp-118ce6f75509c827c76a52a6ed085ae6a91672da.tar.bz2
Clean up header guards that don't match their file name
Header guard symbols should match their file name to make guard collisions less likely. Offenders found with scripts/clean-header-guards.pl -vn. Cleaned up with scripts/clean-header-guards.pl, followed by some renaming of new guard symbols picked by the script to better ones. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net>
-rw-r--r--ip6_icmp.h4
-rw-r--r--slirp.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/ip6_icmp.h b/ip6_icmp.h
index da91dd0..661c85f 100644
--- a/ip6_icmp.h
+++ b/ip6_icmp.h
@@ -3,8 +3,8 @@
* Guillaume Subiron, Yann Bordenave, Serigne Modou Wagne.
*/
-#ifndef SLIRP_NETINET_ICMP6_H_
-#define SLIRP_NETINET_ICMP6_H_
+#ifndef SLIRP_IP6_ICMP_H
+#define SLIRP_IP6_ICMP_H
/*
* Interface Control Message Protocol version 6 Definitions.
diff --git a/slirp.h b/slirp.h
index 539051f..5d42d19 100644
--- a/slirp.h
+++ b/slirp.h
@@ -1,5 +1,5 @@
-#ifndef __COMMON_H__
-#define __COMMON_H__
+#ifndef SLIRP_H
+#define SLIRP_H
#include "qemu/host-utils.h"
#include "slirp_config.h"