git: <string.h>: Clean up the namespace.

Sascha Wildner swildner at
Sat Nov 16 12:58:22 PST 2019

commit b80b4d435974f3611bf317452f30a2613d0fe6e0
Author: Sascha Wildner <saw at>
Date:   Sat Nov 16 21:57:39 2019 +0100

    <string.h>: Clean up the namespace.
    * Stop including <sys/types.h> which was needed only for mode_t for
      the BSD specific strmode(). Define mode_t locally in __BSD_VISIBLE.
    * Increase visibility of the memccpy() prototype. It is older than

Summary of changes:
 include/string.h | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list