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 29, 2024
1 parent e2f084d commit 4cdbd5b
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 4cdbd5b

Please sign in to comment.