summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-02 10:49:43 -0400
committermidipix <writeonce@midipix.org>2016-04-02 10:49:43 -0400
commit54d0a583ef6f40697f860b85c6d01b2540217f20 (patch)
treedfa556cc7095cba3ccf3b299196d95988c1b71df
parentb077893ef96cb73e532404acae5246c51d25c84f (diff)
downloadslibtool-54d0a583ef6f40697f860b85c6d01b2540217f20.tar.bz2
slibtool-54d0a583ef6f40697f860b85c6d01b2540217f20.tar.xz
struct slbt_exec_ctx_impl: rename the argument vector buffer.
-rw-r--r--src/logic/slbt_exec_ctx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/logic/slbt_exec_ctx.c b/src/logic/slbt_exec_ctx.c
index b59ac88..1fbcca3 100644
--- a/src/logic/slbt_exec_ctx.c
+++ b/src/logic/slbt_exec_ctx.c
@@ -17,7 +17,7 @@ struct slbt_exec_ctx_impl {
int argc;
char * args;
struct slbt_exec_ctx ctx;
- char * buffer[];
+ char * vbuffer[];
};
@@ -135,8 +135,8 @@ int slbt_get_exec_ctx(
/* init with guard for later .lo check */
ch = ictx->args + strlen(".lo");
- ictx->ctx.argv = ictx->buffer;
- ictx->ctx.altv = &ictx->buffer[ictx->argc + 1];
+ ictx->ctx.argv = ictx->vbuffer;
+ ictx->ctx.altv = &ictx->vbuffer[ictx->argc + 1];
/* <compiler> */
ictx->ctx.compiler = dctx->cctx->cargv[0];