#
ace5b9b5 |
| 20-Jan-2024 |
christos <christos@NetBSD.org> |
Catch up with all the lint warnings since exit on warning was disabled. Disable 'missing header declaration' and 'nested extern' warnings for now.
|
#
c5e820ca |
| 13-Mar-2012 |
christos <christos@NetBSD.org> |
PR/45989: Martin Husemann: lint invocation does include -w only on i386
- turn lint -w for all the platforms after fixing the lint warnings. - add _DIAGASSERTS() for casts that would assign values t
PR/45989: Martin Husemann: lint invocation does include -w only on i386
- turn lint -w for all the platforms after fixing the lint warnings. - add _DIAGASSERTS() for casts that would assign values to types that would not fit. - change types, add casts - change into ansii prototypes - turn on _DIAGNOSTIC for libc (during current, to be eliminated for release builds)
approved by core@
show more ...
|
#
ad965be0 |
| 20-Jan-2009 |
drochner <drochner@NetBSD.org> |
cleanup after devmajor_t: -since getdevmajor(3) is now binary compatible again with <=5.0 there is no need to rename, I've just left a __getdevmajor50 symbol temporarily for those who track -curren
cleanup after devmajor_t: -since getdevmajor(3) is now binary compatible again with <=5.0 there is no need to rename, I've just left a __getdevmajor50 symbol temporarily for those who track -current -update manpage
show more ...
|
#
d767912b |
| 20-Jan-2009 |
drochner <drochner@NetBSD.org> |
Change major()/minor() to return 32-bit types again, called devmajor_t/devminor_t, as proposed on tech-kern. This avoids 64-bit arithmetics and 64-bit printf formats in parts of the kernel where it i
Change major()/minor() to return 32-bit types again, called devmajor_t/devminor_t, as proposed on tech-kern. This avoids 64-bit arithmetics and 64-bit printf formats in parts of the kernel where it is not really useful, and helps clarity.
show more ...
|
#
817b0022 |
| 16-Dec-2004 |
atatat <atatat@NetBSD.org> |
Fix a whitespace nit and make this compile again. So there.
|
#
d15ecb98 |
| 16-Dec-2004 |
christos <christos@NetBSD.org> |
knf fixes.
|
#
2803cf76 |
| 16-Dec-2004 |
atatat <atatat@NetBSD.org> |
Add a function called getdevmajor().
It tells you the major device number for whatever character or block device you ask it. This is sort of the inverse of devname(3) but not quite, since it's back
Add a function called getdevmajor().
It tells you the major device number for whatever character or block device you ask it. This is sort of the inverse of devname(3) but not quite, since it's backed by the kernel (sysctl's kern.drivers information) and not a database cobbled together from the contents of the filesystem.
show more ...
|