summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorstoddard <stoddard@13f79535-47bb-0310-9956-ffa450edef68>2000-04-25 22:33:45 +0000
committerstoddard <stoddard@13f79535-47bb-0310-9956-ffa450edef68>2000-04-25 22:33:45 +0000
commit2b139685c5fffbb3330129c2f328f71f6842a915 (patch)
tree0366ff72fa99d4225bab705721367e32cc4f98b9 /lib
parent27baaccc997c4047eb2756968ba2e2ab0ff46f00 (diff)
downloadlibapr-2b139685c5fffbb3330129c2f328f71f6842a915.tar.gz
More win32 shotgunary to the windows project files and to
eliminate compile warnings. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59950 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'lib')
-rw-r--r--lib/apr_execve.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/apr_execve.c b/lib/apr_execve.c
index e5ba0f161..d972a1821 100644
--- a/lib/apr_execve.c
+++ b/lib/apr_execve.c
@@ -109,7 +109,8 @@ static const char **hashbang(const char *filename, char * const *argv);
* local argv[] array. The va_arg logic makes sure we do the right thing.
* XXX: malloc() is used because we expect to be overlaid soon.
*/
-ap_status_t ap_execle(const char *filename, const char *argv0, ...)
+APR_EXPORT_NONSTD(ap_status_t) ap_execle(const char *filename,
+ const char *argv0, ...)
{
va_list adummy;
char **envp;
@@ -160,8 +161,8 @@ count_args(char * const *args)
* We have to fiddle with the argv array to make it work on platforms
* which don't support the "hashbang" interpreter line by default.
*/
-ap_status_t ap_execve(const char *filename, char * const argv[],
- char * const envp[])
+APR_EXPORT(ap_status_t) ap_execve(const char *filename, char * const argv[],
+ char * const envp[])
{
char **script_argv;
extern char **environ;