Skip to content

Commit

Permalink
Fix formatting of union semun
Browse files Browse the repository at this point in the history
The formatting is made more consistent with other type definitions.
  • Loading branch information
timopollmeier committed Aug 28, 2024
1 parent 9a26163 commit 9f5eef9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ static int semaphore_set = -1;
* @brief Union type for values of semctl actions
*/
union semun {
int val; ///< Value for SETVAL
struct semid_ds *buf; ///< Buffer for IPC_STAT, IPC_SET
unsigned short *array; ///< Array for GETALL, SETALL
struct seminfo *__buf; ///< Buffer for IPC_INFO (Linux-specific)
int val; ///< Value for SETVAL
struct semid_ds *buf; ///< Buffer for IPC_STAT, IPC_SET
unsigned short *array; ///< Array for GETALL, SETALL
struct seminfo *__buf; ///< Buffer for IPC_INFO (Linux-specific)
};

/**
Expand Down

0 comments on commit 9f5eef9

Please sign in to comment.