diff options
author | phk <phk@FreeBSD.org> | 2002-09-28 11:28:44 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-09-28 11:28:44 +0000 |
commit | 7d954ea35d9cd56646a6266cbf3749dbddb0e8d1 (patch) | |
tree | 79644aad2c9a67b5fc634dc52949684022540631 /sys | |
parent | e8d03df6f15adcb03fced9bf4b31e7e15d5c1272 (diff) | |
download | FreeBSD-src-7d954ea35d9cd56646a6266cbf3749dbddb0e8d1.zip FreeBSD-src-7d954ea35d9cd56646a6266cbf3749dbddb0e8d1.tar.gz |
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.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/proc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 63327cd..2a32d56 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -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. */ |