From: Greg Stein Date: Sat, 24 Feb 2001 14:38:06 +0000 (+0000) Subject: move the _rini stuff into bs2login.c (the only user) X-Git-Tag: 2.0.12~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7500eeefd983587cfc5ad22a9ce9257ec343ed6c;p=thirdparty%2Fapache%2Fhttpd.git move the _rini stuff into bs2login.c (the only user) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88300 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/os/bs2000/bs2login.c b/os/bs2000/bs2login.c index 523441d4404..2320e3f73f7 100644 --- a/os/bs2000/bs2login.c +++ b/os/bs2000/bs2login.c @@ -79,6 +79,16 @@ typedef enum static bs2_ForkType forktype = bs2_unknown; +#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) +typedef struct { + char *username; + char *account; + char *processor_name; +} _rini_struct; + +extern int _rini(_rini_struct *); +#endif /* !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) */ + static void ap_pad(char *dest, size_t size, char ch) { diff --git a/os/bs2000/os.h b/os/bs2000/os.h index d5be0ad7ebb..4b7fd4c893c 100644 --- a/os/bs2000/os.h +++ b/os/bs2000/os.h @@ -86,16 +86,6 @@ extern int ap_os_is_path_absolute(const char *file); /* Other ap_os_ routines not used by this platform */ -#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) -typedef struct { - char *username; - char *account; - char *processor_name; -} _rini_struct; - -extern int _rini(_rini_struct *); -#endif /* !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) */ - extern pid_t os_fork(const char *user); #endif /*! APACHE_OS_H*/