From 169c851de83c09cd669b57fae5eb0a91481a3805 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 23 Nov 2016 16:41:05 +0000 Subject: [PATCH] regress: Rename Tallocshutdown to Tcommonshutdown No functional change just yet. Signed-off-by: Ian Jackson --- regress/harness.h.m4 | 2 +- regress/hcommon.c.m4 | 2 +- regress/hfuzz.c | 2 +- regress/hnonfuzz.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/regress/harness.h.m4 b/regress/harness.h.m4 index 1c602d9..0597b6b 100644 --- a/regress/harness.h.m4 +++ b/regress/harness.h.m4 @@ -72,7 +72,7 @@ extern const struct Terrno { const char *n; int v; } Terrnos[]; void Texit(int rv) NONRETURNING; -void Tallocshutdown(void); +void Tcommonshutdown(void); int Ttestinputfd(void); #endif diff --git a/regress/hcommon.c.m4 b/regress/hcommon.c.m4 index 112caef..4b80207 100644 --- a/regress/hcommon.c.m4 +++ b/regress/hcommon.c.m4 @@ -311,7 +311,7 @@ void *Hrealloc(void *op, size_t nsz) { return np; } -void Tallocshutdown(void) { +void Tcommonshutdown(void) { struct malloced *loopnode; Tshutdown(); diff --git a/regress/hfuzz.c b/regress/hfuzz.c index c260d0d..da3865c 100644 --- a/regress/hfuzz.c +++ b/regress/hfuzz.c @@ -86,7 +86,7 @@ int Ttestinputfd(void) { void Texit(int rv) { fprintf(stderr,"**Texit(%d)**\n",rv); - Tallocshutdown(); + Tcommonshutdown(); exit(0); } diff --git a/regress/hnonfuzz.c b/regress/hnonfuzz.c index 9d4860c..70cc83d 100644 --- a/regress/hnonfuzz.c +++ b/regress/hnonfuzz.c @@ -33,7 +33,7 @@ int main(int argc, char **argv) { return Hmain(argc, argv); } FILE *Hfopen(const char *path, const char *mode) { return fopen(path,mode); } void Texit(int rv) { - Tallocshutdown(); + Tcommonshutdown(); exit(rv); } -- 2.30.2