summaryrefslogtreecommitdiffstats
path: root/linux-user/sparc
diff options
context:
space:
mode:
authorMarkus Armbruster2016-06-29 16:15:33 +0200
committerMarkus Armbruster2016-07-12 16:19:16 +0200
commit35003856977599497f7a873c026c95f2ed3a56e3 (patch)
tree7a2c55f0e846745b9143d259b414f82f04f29a64 /linux-user/sparc
parentlinux-user: Clean up target_signal.h header guards (diff)
downloadqemu-35003856977599497f7a873c026c95f2ed3a56e3.tar.gz
qemu-35003856977599497f7a873c026c95f2ed3a56e3.tar.xz
qemu-35003856977599497f7a873c026c95f2ed3a56e3.zip
linux-user: Clean up target_structs.h header guards
These headers all use TARGET_STRUCTS_H as header guard symbol. Reuse of the same guard symbol in multiple headers is okay as long as they cannot be included together. Since we can avoid guard symbol reuse easily, do so: use guard symbol $target_TARGET_STRUCTS_H for linux-user/$target/target_structs.h. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'linux-user/sparc')
-rw-r--r--linux-user/sparc/target_structs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/sparc/target_structs.h b/linux-user/sparc/target_structs.h
index c139e09a61..ee24c3b5fc 100644
--- a/linux-user/sparc/target_structs.h
+++ b/linux-user/sparc/target_structs.h
@@ -16,8 +16,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef TARGET_STRUCTS_H
-#define TARGET_STRUCTS_H
+#ifndef SPARC_TARGET_STRUCTS_H
+#define SPARC_TARGET_STRUCTS_H
struct target_ipc_perm {
abi_int __key; /* Key. */