style(9): use a type for each member in struct defintions.

Shorten a comment to fit in 80 columns.
This commit is contained in:
Brooks Davis 2018-02-08 00:42:28 +00:00
parent 23778da69d
commit f849badfe4
2 changed files with 15 additions and 15 deletions

View File

@ -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;

View File

@ -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;