style(9): use a type for each member in struct defintions.
Shorten a comment to fit in 80 columns.
This commit is contained in:
parent
23778da69d
commit
f849badfe4
@ -138,12 +138,12 @@ struct msg {
|
||||
* two between 8 and 1024 inclusive (and panic's if it isn't).
|
||||
*/
|
||||
struct msginfo {
|
||||
int msgmax, /* max chars in a message */
|
||||
msgmni, /* max message queue identifiers */
|
||||
msgmnb, /* max chars in a queue */
|
||||
msgtql, /* max messages in system */
|
||||
msgssz, /* size of a message segment (see notes above) */
|
||||
msgseg; /* number of message segments */
|
||||
int msgmax; /* max chars in a message */
|
||||
int msgmni; /* max message queue identifiers */
|
||||
int msgmnb; /* max chars in a queue */
|
||||
int msgtql; /* max messages in system */
|
||||
int msgssz; /* size of a message segment (see note) */
|
||||
int msgseg; /* number of message segments */
|
||||
};
|
||||
extern struct msginfo msginfo;
|
||||
|
||||
|
@ -107,15 +107,15 @@ union semun {
|
||||
* semaphore info struct
|
||||
*/
|
||||
struct seminfo {
|
||||
int semmni, /* # of semaphore identifiers */
|
||||
semmns, /* # of semaphores in system */
|
||||
semmnu, /* # of undo structures in system */
|
||||
semmsl, /* max # of semaphores per id */
|
||||
semopm, /* max # of operations per semop call */
|
||||
semume, /* max # of undo entries per process */
|
||||
semusz, /* size in bytes of undo structure */
|
||||
semvmx, /* semaphore maximum value */
|
||||
semaem; /* adjust on exit max value */
|
||||
int semmni; /* # of semaphore identifiers */
|
||||
int semmns; /* # of semaphores in system */
|
||||
int semmnu; /* # of undo structures in system */
|
||||
int semmsl; /* max # of semaphores per id */
|
||||
int semopm; /* max # of operations per semop call */
|
||||
int semume; /* max # of undo entries per process */
|
||||
int semusz; /* size in bytes of undo structure */
|
||||
int semvmx; /* semaphore maximum value */
|
||||
int semaem; /* adjust on exit max value */
|
||||
};
|
||||
extern struct seminfo seminfo;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user