summaryrefslogtreecommitdiff
path: root/include/apr_getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/apr_getopt.h')
-rw-r--r--include/apr_getopt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/apr_getopt.h b/include/apr_getopt.h
index 94fcfab11..7953f6e57 100644
--- a/include/apr_getopt.h
+++ b/include/apr_getopt.h
@@ -73,7 +73,7 @@ typedef struct apr_getopt_t {
* @param argc The number of arguments to parse
* @param argv The array of arguments to parse
* @tip Arguments 2 and 3 are most commonly argc and argv from main(argc, argv)
- * @deffunc apr_status_t apr_initopt( apr_getopt_t **os, apr_pool_t *cont,int argc, char const* const* argv)
+ * @deffunc apr_status_t apr_initopt(apr_getopt_t **os, apr_pool_t *cont,int argc, char const* const* argv)
*/
APR_EXPORT(apr_status_t) apr_initopt(apr_getopt_t **os, apr_pool_t *cont,
int argc, char const* const* argv);
@@ -93,10 +93,10 @@ APR_EXPORT(apr_status_t) apr_initopt(apr_getopt_t **os, apr_pool_t *cont,
* APR_BADARG -- No argument followed @parameter:
* APR_SUCCESS -- The next option was found.
* </PRE>
- * @deffunc apr_status_t apr_getopt(apr_getopt_t *os, const char *opts, char *optch, char const** optarg)
+ * @deffunc apr_status_t apr_getopt(apr_getopt_t *os, const char *opts, char *optch, const char **optarg)
*/
APR_EXPORT(apr_status_t) apr_getopt(apr_getopt_t *os, const char *opts,
- char *optch, char const** optarg);
+ char *optch, const char **optarg);
#endif /* ! APR_GETOPT_H */