diff options
author | Roy T. Fielding <fielding@apache.org> | 2009-01-31 02:46:56 +0100 |
---|---|---|
committer | Roy T. Fielding <fielding@apache.org> | 2009-01-31 02:46:56 +0100 |
commit | 736d659de0f11f50cad79bea2187ce14c4bad54d (patch) | |
tree | ff69899de75fe75728b3b3efccc191a5e59ce703 /modules/arch/unix | |
parent | Disabled DefaultType directive and removed ap_default_type() (diff) | |
download | apache2-736d659de0f11f50cad79bea2187ce14c4bad54d.tar.xz apache2-736d659de0f11f50cad79bea2187ce14c4bad54d.zip |
use a local module header file to store the function prototype
for ap_unixd_setup_child() that is used outside this module.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@739487 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/arch/unix')
-rw-r--r-- | modules/arch/unix/mod_unixd.c | 2 | ||||
-rw-r--r-- | modules/arch/unix/mod_unixd.h | 41 |
2 files changed, 42 insertions, 1 deletions
diff --git a/modules/arch/unix/mod_unixd.c b/modules/arch/unix/mod_unixd.c index 3daa32a1b4..96e27a5dbf 100644 --- a/modules/arch/unix/mod_unixd.c +++ b/modules/arch/unix/mod_unixd.c @@ -22,7 +22,7 @@ #include "mpm_common.h" #include "os.h" #include "ap_mpm.h" -#include "unixd.h" +#include "mod_unixd.h" #include "apr_thread_proc.h" #include "apr_strings.h" #include "apr_portable.h" diff --git a/modules/arch/unix/mod_unixd.h b/modules/arch/unix/mod_unixd.h new file mode 100644 index 0000000000..f377bd2b87 --- /dev/null +++ b/modules/arch/unix/mod_unixd.h @@ -0,0 +1,41 @@ +/* Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * @file mod_unixd.h + * @brief common stuff that unix MPMs will want + * + * @addtogroup APACHE_OS_UNIX + * @{ + */ + +#ifndef MOD_UNIXD_H +#define MOD_UNIXD_H + +#include "ap_config.h" + +#ifdef __cplusplus +extern "C" { +#endif + +AP_DECLARE(int) ap_unixd_setup_child(void); + +#ifdef __cplusplus +} +#endif + +#endif +/** @} */ |