]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r334656, r334665, r334695
authorian <ian@FreeBSD.org>
Sun, 10 Jun 2018 22:26:15 +0000 (22:26 +0000)
committerian <ian@FreeBSD.org>
Sun, 10 Jun 2018 22:26:15 +0000 (22:26 +0000)
commit40d1ed7f0c9d8af6f4346af6582e8e0c2e9992a9
tree4325858e024ed9d4f30468368085cb1dd0c92f9d
parented6dd63ce9114f8900e598f10f84ce639f33585d
MFC r334656, r334665, r334695

r334656:
Add vsnprintf() to libsa.  Alpha-sort the printf prototypes in stand.h.

r334665:
Make the v*printf() functions in libsa return int instead of void.
This makes them compatible with the C standard signatures, avoiding
spurious mismatch errors in the places where the oddball requirements
of standalone code end up putting two declarations of the same function
in play.

r334695:
Remove comments and assertions that are no longer valid after r330809.

r330809 replaced duplication of devdesc struct fields with an embedded copy
of the devdesc struct, to avoid fragility.  That means all the scattered
comments indicating that structs must match are no longer valid.  Likewise
asserts that attempted to mitigate some of the old fragility.

Reviewed by: imp@
stand/common/disk.h
stand/i386/libi386/biosdisk.c
stand/i386/libi386/libi386.h
stand/libsa/printf.c
stand/libsa/stand.h
stand/uboot/lib/libuboot.h
stand/userboot/userboot/main.c
stand/zfs/libzfs.h