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

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Nov 16 12:58:22 PST 2019


commit b80b4d435974f3611bf317452f30a2613d0fe6e0
Author: Sascha Wildner <saw at online.de>
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
      SUSv3.

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b80b4d435974f3611bf317452f30a2613d0fe6e0


-- 
DragonFly BSD source repository



More information about the Commits mailing list