]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Let dbm's datum::dptr use the right type.
authorEd Schouten <ed@FreeBSD.org>
Mon, 30 May 2016 16:52:23 +0000 (16:52 +0000)
committerEd Schouten <ed@FreeBSD.org>
Mon, 30 May 2016 16:52:23 +0000 (16:52 +0000)
commit2fed5061dbe20aa378935f2b1dabfeb3f4cf6976
tree2989724425a8857dbbd854bebf8db02153efdef1
parent7e3327be3254104f91c923180407c5c7e9f8dfae
Let dbm's datum::dptr use the right type.

According to POSIX, it should use void *, not char *. Unfortunately, the
dsize field also has the wrong type. It should be size_t. I'm not going
to change that, as that will break the ABI.

Reviewed by: pfg
Differential Revision: https://reviews.freebsd.org/D6647
include/ndbm.h
lib/libc/db/man/dbm.3