Commit Graph

10384 Commits

Author SHA1 Message Date
tron
80ab5902d9 Fix build problem on big endian ports where ntohl() doesn't convert the
argument to "uint32_t" automatically.
2009-04-16 13:52:52 +00:00
jld
d61104a0f0 Another empty-body warning/error, another set of curly braces. This, and
the last one, appear to affect only the NO_DEBUG (e.g., SMALLPROG) build.
2009-04-15 04:19:39 +00:00
jld
882877eb33 Unbreak the build by adding curly braces to placate the empty-body warning. 2009-04-15 03:42:33 +00:00
dogcow
85e7c15ca3 more signed/unsigned comparison fixes 2009-04-15 02:07:20 +00:00
christos
7f812cd511 Lukemify (WARNS=4) 2009-04-15 01:20:57 +00:00
lukem
c1ceae17f0 Enable WARNS=4 by default for usr.bin, except for:
awk  bdes  checknr  compile_et  error  gss  hxtool  kgetcred  kinit
	klist  ldd  less  lex  locale  login  m4  man  menuc  mk_cmds
	mklocale  msgc  openssl  rpcgen  rpcinfo  sdiff  spell  ssh
	string2key  telnet  tn3270  verify_krb5_conf  xlint
2009-04-14 22:15:16 +00:00
lukem
9a472d38d4 Fix WARNS=4 issues (-Wshadow -Wcast-qual) 2009-04-14 22:03:07 +00:00
lukem
238e973f29 Fix sign-compare issues 2009-04-14 10:11:28 +00:00
lukem
38a78fe6fc Fix WARNS=4 issues (-Wcast-qual -Wsign-compare) 2009-04-14 09:55:07 +00:00
lukem
ee76095327 Fix -Wsign-compare issue 2009-04-14 09:53:08 +00:00
lukem
3abdd2c250 Fix WARNS=4 issues (-Wshadow -Wcast-qual) 2009-04-14 09:41:30 +00:00
lukem
17d35bfb59 Fix WARNS=4 (-Wcast-qual).
Fix creation of tempfile
2009-04-14 09:18:41 +00:00
lukem
ae780f8105 Compile lint with WARNS=3.
Currently there are too many -Wsign-compare issues for WARNS=4.
2009-04-14 09:09:59 +00:00
lukem
e54a1dbe60 fix -Wcast-qual issues 2009-04-14 09:08:39 +00:00
lukem
4bfb0e2161 Fix -Wshadow and -Wcast-qual issues 2009-04-14 09:06:25 +00:00
lukem
4c61b31086 Fix -Wshadow issues 2009-04-14 09:03:45 +00:00
lukem
4c213f3e71 Fix -Wcast-qual issue 2009-04-14 08:59:45 +00:00
lukem
240747d69a Fix -Wshadow -Wcast-qual issues 2009-04-14 08:54:59 +00:00
lukem
91387bb4e5 Fix WARNS=4 issues (-Wcast-qual -Wshadow -Wsign-compare) 2009-04-14 08:50:06 +00:00
lukem
8c812af3cf fix -Wcast-qual issues 2009-04-14 08:00:48 +00:00
lukem
44f6d24c7f fix sign-compare issue 2009-04-14 07:59:17 +00:00
lukem
147c0c7b01 Fix WARNS=4 issues (-Wshadow -Wcast-qual) 2009-04-14 07:58:38 +00:00
lukem
a4b11de136 Fix WARNS=4 issues (-Wcast-qual -Wsign-compare) 2009-04-14 07:54:51 +00:00
lukem
84a2852424 Fix -Wcast-qual issue 2009-04-14 07:41:36 +00:00
lukem
c53da74354 Fix WARNS=4 issues 2009-04-14 07:37:31 +00:00
lukem
19ffb16ab2 Fix another sign-compare issue 2009-04-14 07:36:16 +00:00
lukem
49d68c2eee fix sign-compare issues 2009-04-14 07:28:23 +00:00
lukem
14b71bc9c5 Fix -Wcast-qual issue 2009-04-14 06:16:59 +00:00
lukem
23ed38873e fix sign-compare issues 2009-04-14 06:14:10 +00:00
lukem
95f5c18e58 Appease -Wcast-qual with a liberal sprinkling of const. 2009-04-14 05:55:12 +00:00
lukem
f76ec3edcf Fix -Wcast-qual issues 2009-04-14 05:46:25 +00:00
lukem
910d676151 Fix WARNS=4 issues (-Wcast-qual, -Wsign-compare) 2009-04-14 05:45:23 +00:00
lukem
7acf67f489 Fix WARNS=4 (-Wcast-qual -Wextra) 2009-04-13 23:50:49 +00:00
lukem
82983c1c4b Fix -Wcast-qual issues 2009-04-13 23:45:50 +00:00
lukem
2b7977aec7 Fix -Wcast-qual issue 2009-04-13 23:44:49 +00:00
lukem
c2293a6fbf Fix WARNS=4 issues (-Wcast-qual -Wshadow -Wextra) 2009-04-13 23:43:36 +00:00
lukem
0980aab530 Fix WARNS=4 issues (-Wcast-qual -Wshadow -Wsign-compare)
XXX: need a "cleaner" way to do the check in reverse.c, as a general rule
2009-04-13 23:33:25 +00:00
lukem
e7a39c4fb6 Fix -Wsign-compare issues 2009-04-13 23:20:27 +00:00
lukem
b33c816619 Fix WARNS=4 issues (-Wcast-qual -Wsign-compare) 2009-04-13 23:02:36 +00:00
christos
3f7bbc73e3 since we know the types, print what they are in error messages. 2009-04-13 21:17:37 +00:00
christos
1841106bd7 Allow kdump to be used as an ioctl decoder if invoked as ioctlname. 2009-04-13 14:39:23 +00:00
lukem
ec7aea6da3 Appease -Wsign-compare 2009-04-13 11:17:06 +00:00
lukem
64d3192b1d Fix WARNS=4 issues (-Wcast-qual -Wsign-compare) 2009-04-13 11:07:59 +00:00
lukem
183f6d8af1 Fix WARNS=4 issues (-Wshadow -Wsign-compare) 2009-04-13 10:56:56 +00:00
he
ec30dc689c Do the -Wuninitialized workaround in a way which conforms to our
style guide, and remove a now unneeded LINTED comment.  From private
feedback.
2009-04-13 10:03:58 +00:00
lukem
932c7df00d fix sign-compare issue 2009-04-13 07:31:36 +00:00
lukem
a295808121 fix -Wcast-qual issue 2009-04-13 07:30:49 +00:00
lukem
d27a41bf3e Fix WARNS=4 issues (-Wcast-qual -Wsign-compare) 2009-04-13 07:29:55 +00:00
lukem
9ad3f56728 Fix -Wsign-compare issues 2009-04-13 07:23:14 +00:00
lukem
859f324d7a Fix -Wshadow issues 2009-04-13 07:19:55 +00:00