diff options
author | Greg Stein <gstein@apache.org> | 2000-11-29 07:41:27 +0000 |
---|---|---|
committer | Greg Stein <gstein@apache.org> | 2000-11-29 07:41:27 +0000 |
commit | a7da977f2e189812216aac40e6c5fd3741559b47 (patch) | |
tree | d0b6635ef964ec2f4058fb9468d2bc1016d9be6c /test/testargs.c | |
parent | d558bd1dd8e2ba794d67784d947ab2b5ac38f8fd (diff) | |
download | apr-a7da977f2e189812216aac40e6c5fd3741559b47.tar.gz |
Add an extra const into the getopt functions. We never attempt to modify any
of the data, so the const is proper. This also allows clients to pass const
data in.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60812 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testargs.c')
-rw-r--r-- | test/testargs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testargs.c b/test/testargs.c index 3a2bafbec..e9a5ecc02 100644 --- a/test/testargs.c +++ b/test/testargs.c @@ -73,7 +73,7 @@ static void maybe_arg(const char *arg) } } -int main(int argc, char * const argv[]) +int main(int argc, const char * const argv[]) { apr_pool_t *context; apr_getopt_t *opt; |