fix namespace violation in sys/shm.h
authorRich Felker <dalias@aerifal.cx>
Thu, 9 Jan 2014 00:39:18 +0000 (19:39 -0500)
committerRich Felker <dalias@aerifal.cx>
Thu, 9 Jan 2014 00:39:18 +0000 (19:39 -0500)
commit513136efa4274c39ed1c071ae4f4f2b10118f9f5
tree1c6d9bd1e98247d5546ee1ac8ee45e95c0bccb81
parenta1527a0c3ed72df3c1a22f774c8618a486b87b94
fix namespace violation in sys/shm.h

in fixing this, I've changed the logic from ugly #if/#else blocks
inside the struct shm_info definition to a fixed struct definition and
optional macros to rename the elements. this will be helpful if we
need to move shm_info to a bits header in the future, as it will keep
the feature test logic out of bits.
include/sys/shm.h