From b95b332c4b703ea012f6fa8fc8ebe1cb1d9ca8ed Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Mon, 22 May 2017 23:17:55 +0000 Subject: [PATCH] ndbm.h: Add a comment pointing out our non-compliance with POSIX. Changing it to full conformance breaks the ABI. Reference: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/ndbm.h.html Discussion at: https://reviews.freebsd.org/D10544 --- include/ndbm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ndbm.h b/include/ndbm.h index db838031a172..8e9e0e19af60 100644 --- a/include/ndbm.h +++ b/include/ndbm.h @@ -53,7 +53,7 @@ typedef struct { void *dptr; - int dsize; + int dsize; /* XXX Should be size_t according to 1003.1-2008. */ } datum; typedef DB DBM;