summaryrefslogtreecommitdiff
path: root/arch/aarch64
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2015-04-01 20:21:50 +0000
committerRich Felker <dalias@aerifal.cx>2015-04-01 19:05:12 -0400
commitb24d813d24c412a2e78bab8ef224a1d4c7c25de8 (patch)
treea1e277a5a164045782351a251370dc041e9a5070 /arch/aarch64
parent115af23942e024f78779ab29832fed3938c799e7 (diff)
downloadmusl-b24d813d24c412a2e78bab8ef224a1d4c7c25de8.tar.gz
musl-b24d813d24c412a2e78bab8ef224a1d4c7c25de8.tar.bz2
musl-b24d813d24c412a2e78bab8ef224a1d4c7c25de8.tar.xz
musl-b24d813d24c412a2e78bab8ef224a1d4c7c25de8.zip
aarch64: fix namespace pollution in bits/shm.h
The shm_info struct is a gnu extension and some of its members do not have shm* prefix. This is worked around in sys/shm.h by macros, but aarch64 didn't use those.
Diffstat (limited to 'arch/aarch64')
-rw-r--r--arch/aarch64/bits/shm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/aarch64/bits/shm.h b/arch/aarch64/bits/shm.h
index e62fdf89..4c3c9fb7 100644
--- a/arch/aarch64/bits/shm.h
+++ b/arch/aarch64/bits/shm.h
@@ -19,7 +19,7 @@ struct shminfo {
};
struct shm_info {
- int used_ids;
+ int __used_ids;
unsigned long shm_tot, shm_rss, shm_swp;
- unsigned long swap_attempts, swap_successes;
+ unsigned long __swap_attempts, __swap_successes;
};