diff options
author | Markus Armbruster <armbru@redhat.com> | 2016-06-29 16:15:33 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2016-07-12 16:19:16 +0200 |
commit | 35003856977599497f7a873c026c95f2ed3a56e3 (patch) | |
tree | 7a2c55f0e846745b9143d259b414f82f04f29a64 /linux-user/sparc | |
parent | 9c93ae13a4014055c5c78e81078e5ccdc60c1cfa (diff) |
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.h | 4 |
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. */ |