137021 Commits

Author SHA1 Message Date
drochner
7005d4ef81 make the argument of db_write_bytes const (sorry for the signature change) 2005-06-01 15:57:23 +00:00
lukem
c76b26e527 Shouldn't use += on a variable that we haven't initialized yet ...
Found with -Wuninitialized.
2005-06-01 15:55:31 +00:00
lukem
818f7c82fa appease gcc -Wuninitialized 2005-06-01 15:51:23 +00:00
lukem
a8ce874400 Ensure rval is initialized before we try to check it; it won't be set
if AL or NN are in use.
Detected with gcc -Wuninitialized.
2005-06-01 15:50:00 +00:00
lukem
5166671bc3 appease gcc -Wuninitialized 2005-06-01 15:41:19 +00:00
lukem
50cde64b47 Mark temp_path volatile so that it won't get clobbered after longjmp.
(Also appeases gcc -Wuninitialized.)
2005-06-01 15:38:32 +00:00
drochner
093f3bf058 remove (caddr_t) casts on "const" pointers, and use __UNCONST()
where arguments are copied to the stackgap
2005-06-01 15:34:15 +00:00
lukem
cfdf050ef3 appease gcc -Wuninitialized 2005-06-01 15:30:33 +00:00
drochner
8aa146cea7 avoid shadow warnings 2005-06-01 15:29:41 +00:00
drochner
5a09c73a94 fix const'ification fallout 2005-06-01 15:28:56 +00:00
lukem
aab85a0fd4 appease gcc -Wuninitialized 2005-06-01 15:25:51 +00:00
lukem
5760da6393 appease gcc -Wuninitialized 2005-06-01 15:12:18 +00:00
lukem
a50c8ab399 Add some sanity checking inspired by gcc -Wuninitialized. 2005-06-01 14:57:22 +00:00
yamt
a45d9db267 -Wno-shadow for some pf files.
IMO there is no point to fix them in our tree.
2005-06-01 14:15:46 +00:00
lukem
a12d17494d appease gcc -Wuninitialized 2005-06-01 14:14:55 +00:00
martin
b19a082161 Add german keymaps 2005-06-01 14:05:25 +00:00
yamt
9019b2a550 make lacp_timer_funcs static. 2005-06-01 13:34:48 +00:00
blymn
92bd9a35e9 Fix function variable names shadowing global declarations. 2005-06-01 13:12:49 +00:00
blymn
646a1d4749 Fix a couple of sloppy casts
Convert u_int to uint
2005-06-01 13:11:47 +00:00
blymn
6e88f7f53f Rename function variable names that were shadowing global declarations. 2005-06-01 13:10:06 +00:00
blymn
f16255f49d Const'ify structure declarations to prevent compiler warnings. 2005-06-01 13:08:59 +00:00
blymn
a35dcc633d Function declarations did not match prototypes, fix. 2005-06-01 13:06:46 +00:00
blymn
9d5fdb8711 Rename function variables that shadowed globals. 2005-06-01 13:05:31 +00:00
scw
6d4597956c Fix const/cast fallout. 2005-06-01 13:05:29 +00:00
blymn
99a58d941c Cast away const for siginfo structure as the function prototype does not
have const.
2005-06-01 13:04:32 +00:00
scw
8f4aee207b Declare the second arg of process_write_{fp,}regs() to be const.
This permits sh5 to continue to re-use those functions in cpu_setmcontext()
with the recent change to Makefile.kern.inc (revision 1.62).
2005-06-01 13:01:35 +00:00
macallan
9bd3941e72 changed wsdisplay* attachment so the console display will always be
wsdisplay0
2005-06-01 12:58:13 +00:00
yamt
5c8133c87b privcmd_ioctl: remove unnecessary variable shadowing. 2005-06-01 12:56:02 +00:00
yamt
261b58bea9 allow QSTRING for make variable names for eg. "COPTS.somefile.c". 2005-06-01 12:32:57 +00:00
drochner
49d230fa91 need a "const" 2005-06-01 12:27:15 +00:00
drochner
4d205d8853 more constification fallout 2005-06-01 12:25:27 +00:00
lukem
f391b937b7 appease gcc -Wuninitialized 2005-06-01 12:14:53 +00:00
lukem
c7115c2b93 * Only print the "Trying <address>..." message if verbose and
there's more than one struct addrinfo in the getaddrinfo() result.
* Don't use non-standard "u_int".
2005-06-01 12:10:14 +00:00
lukem
6e3cdc676d appease gcc -Wuninitialized 2005-06-01 12:07:00 +00:00
yamt
e76114f7e0 appease -Wcast-qual. 2005-06-01 12:05:28 +00:00
scw
a0d939e06d Fix const fallout. 2005-06-01 11:59:13 +00:00
lukem
1098edc01a Ensure widestItem is initialized in setCDKSwindowContents() before use.
Detected by gcc -Wuninitialized.
2005-06-01 11:51:11 +00:00
lukem
ac636bd17a Don't use non-standard uint or u_int. 2005-06-01 11:37:52 +00:00
yamt
88b65022bb constify. 2005-06-01 11:25:01 +00:00
lukem
f9d230b4f6 appease gcc -Wuninitialized. some delint 2005-06-01 11:22:18 +00:00
lukem
9f3f3adf23 appease gcc -Wuninitialized 2005-06-01 11:08:57 +00:00
lukem
7fbaf47f83 Compile the following files with -Wno-uninitialized:
vfprintf.c	See rev 1.46 for why we can't fix this.
vfwprintf.c	Needs some effort
vfwscanf.c	Needs some effort
2005-06-01 11:06:01 +00:00
scw
51d46cb132 Fix const and shadow variable fallout. 2005-06-01 10:55:07 +00:00
ragge
0979c0be06 The read/read multiple cacheline problem may also appear on the 3114
controller, so apply the cacheline fix to it as well.
2005-06-01 10:00:35 +00:00
blymn
e703150707 Unconstify rnode to prevent compile error when GATEWAY option set. 2005-06-01 09:45:15 +00:00
tron
6b429e7ed5 Remove unused kernel configuration. 2005-06-01 09:44:12 +00:00
sekiya
17c5e67809 Regen. 2005-06-01 09:16:07 +00:00
sekiya
47f4828c71 Add product IDs for devices that use the RT2500USB chip. From OpenBSD. 2005-06-01 09:15:41 +00:00
sekiya
58a736f2b9 Fix compilation problem when CBB_DEBUG is defined. 2005-06-01 09:10:57 +00:00
sekiya
e1dc11af89 "resister" -> "register" 2005-06-01 08:39:32 +00:00