From: Mike F. <su...@li...> - 2010-10-13 14:10:59
|
The branch, master, has been updated via c31902058bc951308b4949f084cd7268245ac57f (commit) from 12bb83d825c7b58bb4fb3322620591c9fdf4ff5c (commit) - Log ----------------------------------------------------------------- commit c31902058bc951308b4949f084cd7268245ac57f Author: Mike Frysinger <va...@ge...> Date: Wed Oct 13 10:10:45 2010 -0400 parse_opts: constify opts arg Signed-off-by: Mike Frysinger <va...@ge...> ----------------------------------------------------------------------- Summary of changes: include/usctest.h | 2 +- lib/parse_opts.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/usctest.h b/include/usctest.h index 8cd50d1..04f0e9c 100644 --- a/include/usctest.h +++ b/include/usctest.h @@ -142,7 +142,7 @@ extern float STD_LOOP_DURATION, /* wall clock time to iterate */ /********************************************************************** * Prototype for parse_opts routine **********************************************************************/ -extern char *parse_opts(int ac, char **av, option_t *user_optarr, void (*uhf)()); +extern char *parse_opts(int ac, char **av, const option_t *user_optarr, void (*uhf)()); /* diff --git a/lib/parse_opts.c b/lib/parse_opts.c index 8276a2e..e4de709 100644 --- a/lib/parse_opts.c +++ b/lib/parse_opts.c @@ -203,7 +203,7 @@ extern char *child_args; /* Arguments to child when -C is used */ * parse_opts: **********************************************************************/ char * -parse_opts(int ac, char **av, option_t *user_optarr, void (*uhf)()) +parse_opts(int ac, char **av, const option_t *user_optarr, void (*uhf)()) { int found; /* flag to indicate that an option specified was */ /* found in the user's list */ hooks/post-receive -- ltp |