From 572b19d78b29f82554fc31fe814de29742f0874c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 28 Dec 2016 18:12:37 -0500 Subject: drop _q_static and standardize func prototypes a bit --- qfile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qfile.c') diff --git a/qfile.c b/qfile.c index c6c3664d..ec084911 100644 --- a/qfile.c +++ b/qfile.c @@ -65,7 +65,7 @@ struct qfile_opt_state { * We assume the people calling us have chdir(/var/db/pkg) and so * we use relative paths throughout here. */ -_q_static int qfile_cb(q_vdb_pkg_ctx *pkg_ctx, void *priv) +static int qfile_cb(q_vdb_pkg_ctx *pkg_ctx, void *priv) { struct qfile_opt_state *state = priv; const char *catname = pkg_ctx->cat_ctx->name; @@ -238,7 +238,7 @@ _q_static int qfile_cb(q_vdb_pkg_ctx *pkg_ctx, void *priv) return found; } -_q_static void destroy_qfile_args(qfile_args_t *qfile_args) +static void destroy_qfile_args(qfile_args_t *qfile_args) { int i; @@ -259,7 +259,7 @@ _q_static void destroy_qfile_args(qfile_args_t *qfile_args) memset(qfile_args, 0, sizeof(qfile_args_t)); } -_q_static int +static int prepare_qfile_args(const int argc, const char **argv, struct qfile_opt_state *state) { qfile_args_t *args = &state->args; -- cgit v1.2.3-65-gdbad