137001 Commits

Author SHA1 Message Date
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
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