summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-06-28 23:39:50 -0400
committerRich Felker <dalias@aerifal.cx>2013-06-28 23:39:50 -0400
commit553d566c3f7080cf1f339eebf715db7e5d0b0d76 (patch)
treeffd2f246d196fe6e434d5d9b027e5ddac848b5a6 /include
parentaea79190326cf81d6c8ec81ab163137591c6dac8 (diff)
downloadmusl-553d566c3f7080cf1f339eebf715db7e5d0b0d76.tar.gz
musl-553d566c3f7080cf1f339eebf715db7e5d0b0d76.tar.bz2
musl-553d566c3f7080cf1f339eebf715db7e5d0b0d76.tar.xz
musl-553d566c3f7080cf1f339eebf715db7e5d0b0d76.zip
add missing type shmatt_t in sys/shm.h
this type is not really intended to be used; it's just there to allow implementations to choose the type for the shm_nattch member of struct shmid_sh, presumably since historical implementations disagreed on the type. in any case, it needs to be there, so now it is.
Diffstat (limited to 'include')
-rw-r--r--include/sys/shm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/shm.h b/include/sys/shm.h
index bca6ed62..c20f0334 100644
--- a/include/sys/shm.h
+++ b/include/sys/shm.h
@@ -47,6 +47,8 @@ struct shm_info {
#endif
};
+typedef unsigned long shmatt_t;
+
void *shmat(int, const void *, int);
int shmctl(int, int, struct shmid_ds *);
int shmdt(const void *);