Fix two style problems which made FlexeLint unhappy:
Don't use zero-dimension array in struct pargs. Comma after the last element of an enum doesn't make sense.
This commit is contained in:
parent
165d2b993c
commit
df60b2499b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104085
@ -114,7 +114,7 @@ struct procsig {
|
||||
struct pargs {
|
||||
u_int ar_ref; /* Reference count. */
|
||||
u_int ar_length; /* Length. */
|
||||
u_char ar_args[]; /* Arguments. */
|
||||
u_char ar_args[1]; /* Arguments. */
|
||||
};
|
||||
|
||||
/*-
|
||||
@ -307,7 +307,7 @@ struct thread {
|
||||
TDS_INHIBITED,
|
||||
TDS_CAN_RUN,
|
||||
TDS_RUNQ,
|
||||
TDS_RUNNING,
|
||||
TDS_RUNNING
|
||||
} td_state;
|
||||
register_t td_retval[2]; /* (k) Syscall aux returns. */
|
||||
struct callout td_slpcallout; /* (h) Callout for sleep. */
|
||||
|
Loading…
Reference in New Issue
Block a user