commit 721a288c135438335a7a5031f3237612d3213e1a
parent 9175e79ba34ff745dfdb0948ba04aedff07f2f8e
Author: Rolf Eike Beer <eike@sf-mail.de>
Date: Fri, 8 May 2020 20:27:37 +0200
genalloc: reorder callers
Make sure calls to GEN_ALLOC_ready always follow GEN_ALLOC_readyplus.
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/stralloc_eady.c b/stralloc_eady.c
@@ -2,5 +2,5 @@
#include "stralloc.h"
#include "gen_allocdefs.h"
-GEN_ALLOC_ready(stralloc,char,s,len,a,i,n,x,30,stralloc_ready)
GEN_ALLOC_readyplus(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus)
+GEN_ALLOC_ready(stralloc,char,s,len,a,i,n,x,30,stralloc_ready)
diff --git a/token822.c b/token822.c
@@ -22,8 +22,8 @@ token822_alloc *ta;
}
}
-GEN_ALLOC_ready(token822_alloc,struct token822,t,len,a,i,n,x,30,token822_ready)
GEN_ALLOC_readyplus(token822_alloc,struct token822,t,len,a,i,n,x,30,token822_readyplus)
+GEN_ALLOC_ready(token822_alloc,struct token822,t,len,a,i,n,x,30,token822_ready)
GEN_ALLOC_append(token822_alloc,struct token822,t,len,a,i,n,x,30,token822_readyplus,token822_append)
static int needspace(t1,t2)