Mercurial > hg > th-libs
diff th_args.c @ 47:c811c952d21d
Constify.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 03 Oct 2011 15:39:13 +0300 |
parents | 5f73c8cd333a |
children | 598609fb49b0 |
line wrap: on
line diff
--- a/th_args.c Mon Oct 03 15:38:53 2011 +0300 +++ b/th_args.c Mon Oct 03 15:39:13 2011 +0300 @@ -126,7 +126,7 @@ /* Check if option requires an argument */ -static BOOL th_args_check_arg(optarg_t *o, char *optArg) +static BOOL th_args_check_arg(const optarg_t *o, const char *optArg) { if ((o->flags & OPT_ARGMASK) == OPT_ARGREQ && optArg == NULL) {