You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gs...@apache.org on 2001/02/24 15:38:07 UTC

cvs commit: httpd-2.0/os/bs2000 bs2login.c os.h

gstein      01/02/24 06:38:07

  Modified:    os/bs2000 bs2login.c os.h
  Log:
  move the _rini stuff into bs2login.c (the only user)
  
  Revision  Changes    Path
  1.10      +10 -0     httpd-2.0/os/bs2000/bs2login.c
  
  Index: bs2login.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/os/bs2000/bs2login.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -u -r1.9 -r1.10
  --- bs2login.c	2001/02/16 04:26:44	1.9
  +++ bs2login.c	2001/02/24 14:38:06	1.10
  @@ -79,6 +79,16 @@
   
   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)
   {
  
  
  
  1.10      +0 -10     httpd-2.0/os/bs2000/os.h
  
  Index: os.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/os/bs2000/os.h,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -u -r1.9 -r1.10
  --- os.h	2001/02/24 11:23:24	1.9
  +++ os.h	2001/02/24 14:38:06	1.10
  @@ -86,16 +86,6 @@
   /* 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*/