From f7d1c016cf001a7fb7252738dba6f32ae3243044 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 27 Nov 2016 14:25:08 +0000 Subject: [PATCH] regress: playback fuzzraw dump: Move Tshutdown No functional change. Signed-off-by: Ian Jackson --- regress/hplayback.c.m4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/regress/hplayback.c.m4 b/regress/hplayback.c.m4 index f63319d..cbb939d 100644 --- a/regress/hplayback.c.m4 +++ b/regress/hplayback.c.m4 @@ -45,10 +45,6 @@ m4_include(hmacros.i4) static FILE *Tinputfile, *Treportfile; static vbuf vb2; -extern void Tshutdown(void) { - adns__vbuf_free(&vb2); -} - static void Tensurereportfile(void) { const char *fdstr; int fd; @@ -60,6 +56,10 @@ static void Tensurereportfile(void) { Treportfile= fdopen(fd,"a"); if (!Treportfile) Tfailed("fdopen ADNS_TEST_REPORT_FD"); } +extern void Tshutdown(void) { + adns__vbuf_free(&vb2); +} + static void Psyntax(const char *where) { fprintf(stderr,"adns test harness: syntax error in test log input file: %s\n",where); exit(-1); -- 2.30.2