Fix tabbing and comment characters in Windows code.
[fio.git] / os / windows / posix / include / sys / shm.h
index 6f6b032846837c32b2e39960c9a520cf68f174a8..6ed59577392d5b94398984feb7f578eea3380ed1 100644 (file)
@@ -1,9 +1,9 @@
 #ifndef SYS_SHM_H\r
 #define SYS_SHM_H\r
 \r
-#define IPC_RMID        0x1\r
-#define IPC_CREAT       0x2\r
-#define IPC_PRIVATE     0x4\r
+#define IPC_RMID       0x1\r
+#define IPC_CREAT      0x2\r
+#define IPC_PRIVATE    0x4\r
 \r
 typedef int uid_t;\r
 typedef int gid_t;\r
@@ -13,24 +13,24 @@ typedef int key_t;
 \r
 struct ipc_perm\r
 {\r
-       uid_t    uid;    //owner's user ID\r
-       gid_t    gid;    //owner's group ID\r
-       uid_t    cuid;   //creator's user ID\r
-       gid_t    cgid;   //creator's group ID\r
-       mode_t   mode;   //read/write permission\r
+       uid_t    uid;    /* owner's user ID */\r
+       gid_t    gid;    /* owner's group ID */\r
+       uid_t    cuid;   /* creator's user ID */\r
+       gid_t    cgid;   /* creator's group ID */\r
+       mode_t   mode;   /* read/write permission */\r
 };\r
 \r
 \r
 struct shmid_ds\r
 {\r
-       struct ipc_perm shm_perm;   //operation permission structure\r
-       size_t          shm_segsz;  //size of segment in bytes\r
-       pid_t           shm_lpid;   //process ID of last shared memory operation\r
-       pid_t           shm_cpid;   //process ID of creator\r
-       shmatt_t        shm_nattch; //number of current attaches\r
-       time_t          shm_atime;  //time of last shmat()\r
-       time_t          shm_dtime;  //time of last shmdt()\r
-       time_t          shm_ctime;  //time of last change by shmctl()\r
+       struct ipc_perm shm_perm;   /* operation permission structure */\r
+       size_t          shm_segsz;  /* size of segment in bytes */\r
+       pid_t           shm_lpid;   /* process ID of last shared memory operation */\r
+       pid_t           shm_cpid;   /* process ID of creator */\r
+       shmatt_t        shm_nattch; /* number of current attaches */\r
+       time_t          shm_atime;  /* time of last shmat() */\r
+       time_t          shm_dtime;  /* time of last shmdt() */\r
+       time_t          shm_ctime;  /* time of last change by shmctl() */\r
 };\r
 \r
 int shmctl(int shmid, int cmd, struct shmid_ds *buf);\r