From f5eaee70f28d66bbc39dbebac10844077ba73488 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 3 May 2005 16:49:34 +0000 Subject: [PATCH] Include snprintf-test.h earlier. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15073 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/snprintf.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/roken/snprintf.c b/lib/roken/snprintf.c index 276679ca3..e23e9c930 100644 --- a/lib/roken/snprintf.c +++ b/lib/roken/snprintf.c @@ -35,6 +35,9 @@ #include RCSID("$Id$"); #endif +#if defined(TEST_SNPRINTF) +#include "snprintf-test.h" +#endif /* TEST_SNPRINTF */ #include #include #include @@ -65,10 +68,6 @@ struct snprintf_state { /* XXX - methods */ }; -#if defined(TEST_SNPRINTF) -#include "snprintf-test.h" -#endif /* TEST_SNPRINTF */ - #if !defined(HAVE_VSNPRINTF) || defined(TEST_SNPRINTF) static int sn_reserve (struct snprintf_state *state, size_t n)