On Wed, 9 Dec 2015, Garrett Cooper wrote:
Log: ... Use stdint.h instead of inttypes.h as the latter pollutes namespace more ... Modified: head/lib/libc/stdio/open_memstream.c ============================================================================== --- head/lib/libc/stdio/open_memstream.c Wed Dec 9 08:53:41 2015 (r292012) +++ head/lib/libc/stdio/open_memstream.c Wed Dec 9 09:14:57 2015 (r292013) @@ -31,10 +31,10 @@ __FBSDID("$FreeBSD$"); #include "namespace.h" #include <assert.h> #include <errno.h> +#include <limits.h> #ifdef DEBUG -#include <inttypes.h> +#include <stdint.h> #endif -#include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h>
Thanks. It wou;d be noice to fix some other cases of excessive includes. There aren't many for newer headers like stdint.h and inttypes.h. Bruce _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"