summaryrefslogtreecommitdiff
path: root/test/testargs.c
diff options
context:
space:
mode:
authorGreg Stein <gstein@apache.org>2000-11-29 07:41:27 +0000
committerGreg Stein <gstein@apache.org>2000-11-29 07:41:27 +0000
commita7da977f2e189812216aac40e6c5fd3741559b47 (patch)
treed0b6635ef964ec2f4058fb9468d2bc1016d9be6c /test/testargs.c
parentd558bd1dd8e2ba794d67784d947ab2b5ac38f8fd (diff)
downloadapr-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.c2
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;