diff options
author | Martin Kraemer <martin@apache.org> | 1999-11-20 22:05:25 +0000 |
---|---|---|
committer | Martin Kraemer <martin@apache.org> | 1999-11-20 22:05:25 +0000 |
commit | 38d20a7290556472d51ee860e1b590394a0f49b9 (patch) | |
tree | de86de6b9b73f857cd79f52f2a178dc96cb34bf4 /test/testargs.c | |
parent | 6ab8acd47c40ae7c232714948b03a964119f0f7f (diff) | |
download | apr-38d20a7290556472d51ee860e1b590394a0f49b9.tar.gz |
Under Linux, I always got a
"libc.so.6: Warning: definition of 'optarg' overriding common
libapr(getopt.o): warning: common is here"
To make matters cleaner, I added an apr_getopt.h to go with the
various copies of getopt.c in the os subdirectories. In this header,
I renamed all getopt-API functions to "apr_<apiname>". This avoids
name clashes with system libraries.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59481 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testargs.c')
-rw-r--r-- | test/testargs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testargs.c b/test/testargs.c index a5ecaf5c6..c39dab83a 100644 --- a/test/testargs.c +++ b/test/testargs.c @@ -57,6 +57,7 @@ #include "apr_errno.h" #include "apr_general.h" #include "apr_lib.h" +#include "apr_getopt.h" #include <stdio.h> #ifdef BEOS #include <unistd.h> |