Commit Graph

136992 Commits

Author SHA1 Message Date
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
lukem
46af29904e appease gcc -Wuninitialized 2005-06-01 05:54:07 +00:00
lukem
3af3e6a479 appease gcc -Wuninitialized 2005-06-01 05:41:48 +00:00
lukem
63246b1ef4 Ensure dbp is initialized to NULL before trying to use it in an error codepath.
Detected with gcc -Wuninitialized.
(The bug was introduced in rev 1.13.  Hi Mycroft! :)
2005-06-01 05:39:17 +00:00
lukem
d999a32485 Ensure that we don't try to free random memory when another malloc fails,
by initializing newprepare, newparent, and newchild to NULL.
Detected by gcc -Wuninitialized.
2005-06-01 05:30:54 +00:00
lukem
b8fe389b4c Exit via the correct cleanup path; we can't munmap until the mmap has
been performed.
Detected with gcc -Wuninitialized.
(The bug was introduced in rev 1.22. Hi Ragge! :)
2005-06-01 05:24:54 +00:00
lukem
2f0fdfa7f7 Move the test for "more strict reverse lookup handling" to the correct
location so that an uninitialized `in' won't be used if net_i == BYADDR.
Detected with gcc -Wuninitialized, confirmed by diffing against BIND 4.9.11.
(The bug was introduced in rev 1.26.  Hi Itojun! :)
2005-06-01 05:19:21 +00:00
lukem
178e201b11 appease gcc -Wuninitialized 2005-06-01 04:38:40 +00:00
martin
3829274a1e Adapt to constification 2005-06-01 03:51:58 +00:00
christos
4ac0cb602f add genassym 2005-06-01 03:22:56 +00:00
uwe
609ad365b1 Add CWARNFLAGS.<fn> 2005-06-01 00:11:32 +00:00
uwe
5442d49e77 Constify. Drivers pass const default calibration data to
WSMOUSEIO_SCALIBCOORDS using __UNCONST, so make sure we don't try to
modify it.
2005-06-01 00:02:17 +00:00
uwe
7d69499bba Fix misleading indentation. 2005-05-31 23:37:47 +00:00
uwe
94216ed61f Use __UNCONST to pass default calibration data to tpcalib_ioctl(). 2005-05-31 23:21:03 +00:00
uwe
1f2b389b7e Constify. 2005-05-31 23:14:02 +00:00
uwe
c93f856fa9 Fix shadowing. 2005-05-31 23:12:18 +00:00
uwe
6a99517a37 Constify. 2005-05-31 23:04:10 +00:00
uwe
1760382cc8 Constify as -Wcast-qual seyeth. 2005-05-31 22:45:04 +00:00
uwe
73c9c64f6c Declare platid_name() to return const.
Revert previous kludge, we can return string literal now.
2005-05-31 22:43:09 +00:00
uwe
87d1a94219 Make "name" in struct platid_name const.
Declare platid_name() to return pointer to const.
2005-05-31 22:41:28 +00:00
drochner
d033b4e4b0 as in apm, the "busname" thing is unnecessary
being here, fix constification problems and cleanup variable names
from function prototypes
2005-05-31 22:39:08 +00:00
uwe
c7e2bd07b6 Don't return string literal from a function that is not declared to
return const.

XXX: Kludge for now, I don't want to deal with the fallout, especially
as this code is also compile for Windows CE (hpcboot.exe).
2005-05-31 22:36:12 +00:00
wiz
7a9582b62a Spread some more unsigned for less casts. 2005-05-31 22:29:41 +00:00
uwe
e7b971967b Avoid naming function parameters "platid", there's a global variable
of that name.
2005-05-31 22:28:49 +00:00
tron
a97eb895f6 Remove attachment for the piixide(4) driver from all non-x86 kernel
configurations because Intel IDE disk controllers only exist as part
of Intel chipsets for x86 systems.
2005-05-31 22:23:52 +00:00
uwe
9af1a3ff5e Preserve const in cast. 2005-05-31 22:22:36 +00:00
tron
fe980f65d4 Remove unnecessary per-driver scsibus attachments and use
"scsibus* at scsi?" instead.
2005-05-31 22:09:08 +00:00
uwe
49d5bf28d9 Rename s/newlwp/nlwp/ parameter to cpu_switch_prepare() to avoid
shadowing a function of the same name.  Rename oldlwp to match.
2005-05-31 22:06:51 +00:00
uwe
639d538d14 Constify as -Wcast-qual seyeth. 2005-05-31 22:01:24 +00:00
drochner
5e6bfb3b86 inspired by the last commit -- apm_attach_args aren't necessary at all,
kill them
being here fix cast-qual problems in debug code
2005-05-31 21:47:22 +00:00