}
static const char*
-getConfigDir (int argc, const char ** argv)
+getConfigDir (int argc, const char * const * argv)
{
int c;
const char * configDir = NULL;
}
static int
-processArgs (const char * rpcurl, int argc, const char ** argv)
+processArgs (const char * rpcurl, int argc, const char * const * argv)
{
int c;
int status = EXIT_SUCCESS;
}
int
-tr_getopt (const char * usage,
- int argc,
- const char ** argv,
- const tr_option * opts,
- const char ** setme_optarg)
+tr_getopt (const char * usage,
+ int argc,
+ const char * const * argv,
+ const tr_option * opts,
+ const char ** setme_optarg)
{
int i;
const char * arg = NULL;
* @brief similar to getopt ()
* @return TR_GETOPT_DONE, TR_GETOPT_ERR, TR_GETOPT_UNK, or the matching tr_option's `val' field
*/
-int tr_getopt (const char * summary,
- int argc,
- const char ** argv,
- const tr_option * opts,
- const char ** setme_optarg);
+int tr_getopt (const char * summary,
+ int argc,
+ const char * const * argv,
+ const tr_option * opts,
+ const char ** setme_optarg);
/** @brief prints the `Usage' help section to stdout */
void tr_getopt_usage (const char * appName,
}
static int
-parseCommandLine (int argc, const char ** argv)
+parseCommandLine (int argc, const char * const * argv)
{
int c;
const char * optarg;
}
static int
-parseCommandLine (int argc, const char ** argv)
+parseCommandLine (int argc, const char * const * argv)
{
int c;
const char * optarg;
const char * filename = NULL;
static int
-parseCommandLine (int argc, const char ** argv)
+parseCommandLine (int argc, const char * const * argv)
{
int c;
const char * optarg;