diff options
author | markm <markm@FreeBSD.org> | 2002-06-24 16:44:38 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2002-06-24 16:44:38 +0000 |
commit | 50d1c42f1ec65cbae9189f57d033e83d1a9938d3 (patch) | |
tree | 10226507d45dfa2c1db6ed682ceb0e83af08c9f9 /sys | |
parent | 1f92859c5f2a0e6e86308eff7848cfba628ebcba (diff) | |
download | FreeBSD-src-50d1c42f1ec65cbae9189f57d033e83d1a9938d3.zip FreeBSD-src-50d1c42f1ec65cbae9189f57d033e83d1a9938d3.tar.gz |
Fix a GCCism.
int foo[0]; // dodgy
int foo[]; // means the same, works the same and survives lint.
Tested by: 3 months of use on my laptop
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/proc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h index f37ade7..a4f29de 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[0]; /* Arguments. */ + u_char ar_args[]; /* Arguments. */ }; /*- |