summaryrefslogtreecommitdiff
path: root/printf/repl-vsnprintf.c
diff options
context:
space:
mode:
authorMarco Bodrato <bodrato@mail.dm.unipi.it>2018-02-25 17:21:31 +0100
committerMarco Bodrato <bodrato@mail.dm.unipi.it>2018-02-25 17:21:31 +0100
commit5be8a59b4fe529299ed61e911d4c12d3e7f63814 (patch)
tree3699089b09fba4f3e1c2e8515e78a8a01b6362ac /printf/repl-vsnprintf.c
parent695602d4e33b237f37a572501248864b2a1aeaeb (diff)
downloadgmp-5be8a59b4fe529299ed61e911d4c12d3e7f63814.tar.gz
Avoid empty translation units.
Diffstat (limited to 'printf/repl-vsnprintf.c')
-rw-r--r--printf/repl-vsnprintf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/printf/repl-vsnprintf.c b/printf/repl-vsnprintf.c
index 9ae22c14d..ae18733bc 100644
--- a/printf/repl-vsnprintf.c
+++ b/printf/repl-vsnprintf.c
@@ -35,9 +35,6 @@ see https://www.gnu.org/licenses/. */
#include "config.h"
-#if ! HAVE_VSNPRINTF /* only need this file if we don't have vsnprintf */
-
-
#define _GNU_SOURCE /* for strnlen prototype */
#include <stdarg.h>
@@ -66,6 +63,8 @@ see https://www.gnu.org/licenses/. */
#include "gmp-impl.h"
+#if ! HAVE_VSNPRINTF /* only need this file if we don't have vsnprintf */
+
/* Autoconf notes that AIX 4.3 has a broken strnlen, but fortunately it
doesn't affect us since __gmp_replacement_vsnprintf is not required on
that system. */