Include snprintf-test.h earlier.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15073 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-05-03 16:49:34 +00:00
parent ed977855b1
commit f5eaee70f2

View File

@@ -35,6 +35,9 @@
#include <config.h>
RCSID("$Id$");
#endif
#if defined(TEST_SNPRINTF)
#include "snprintf-test.h"
#endif /* TEST_SNPRINTF */
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
@@ -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)