Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1106 from aG0aep6G/14007
Browse files Browse the repository at this point in the history
version away __unused1/2/3 for X86_64
  • Loading branch information
yebblies committed Jan 19, 2015
2 parents c4c4c66 + 58504ec commit 43199cd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/core/sys/posix/sys/shm.d
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,17 @@ version( linux )

alias c_ulong shmatt_t;

/* For any changes, please check /usr/include/bits/shm.h */
struct shmid_ds
{
ipc_perm shm_perm;
size_t shm_segsz;
time_t shm_atime;
c_ulong __unused1;
version( X86_64 ) {} else c_ulong __unused1;
time_t shm_dtime;
c_ulong __unused2;
version( X86_64 ) {} else c_ulong __unused2;
time_t shm_ctime;
c_ulong __unused3;
version( X86_64 ) {} else c_ulong __unused3;
pid_t shm_cpid;
pid_t shm_lpid;
shmatt_t shm_nattch;
Expand Down

0 comments on commit 43199cd

Please sign in to comment.