From 985580a625a0aafaf37f0b4147e98886155cc351 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 5 Aug 2018 05:29:12 -0400 Subject: coding-style meditation. --- src/driver/sfrt_amain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/driver/sfrt_amain.c b/src/driver/sfrt_amain.c index 9a2c1dc..60ad615 100644 --- a/src/driver/sfrt_amain.c +++ b/src/driver/sfrt_amain.c @@ -25,7 +25,7 @@ static const char * const sfrt_ver_plain[6] = { "","" }; -static ssize_t sfrt_version(int fdout, struct sfrt_driver_ctx * dctx) +static ssize_t sfrt_version(struct sfrt_driver_ctx * dctx, int fdout) { const struct sfrt_source_version * verinfo; const char * const * verclr; @@ -79,7 +79,7 @@ int sfrt_main(int argc, char ** argv, char ** envp, const struct sfrt_fd_ctx * f : SFRT_ERROR; if (dctx->cctx->drvflags & SFRT_DRIVER_VERSION) - if ((sfrt_version(fdout,dctx)) < 0) + if ((sfrt_version(dctx,fdout)) < 0) return sfrt_exit(dctx,SFRT_ERROR); if (dctx->cctx->anystring) /* dummy */ -- cgit v1.2.3