Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Dec 2015 09:14:58 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r292013 - head/lib/libc/stdio
Message-ID:  <201512090914.tB99EwAs007362@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Wed Dec  9 09:14:57 2015
New Revision: 292013
URL: https://svnweb.freebsd.org/changeset/base/292013

Log:
  Use stdint.h instead of inttypes.h as the latter pollutes namespace more
  
  MFC after: 3 days
  X-MFC with: r292004
  Submitted by: bde
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/lib/libc/stdio/open_memstream.c
  head/lib/libc/stdio/open_wmemstream.c

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>

Modified: head/lib/libc/stdio/open_wmemstream.c
==============================================================================
--- head/lib/libc/stdio/open_wmemstream.c	Wed Dec  9 08:53:41 2015	(r292012)
+++ head/lib/libc/stdio/open_wmemstream.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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512090914.tB99EwAs007362>