]> granicus.if.org Git - php/commitdiff
Removed extraneous php4_close() function and Windows compile checks.
authorAlex Leigh <aleigh@php.net>
Mon, 8 Dec 2003 18:18:03 +0000 (18:18 +0000)
committerAlex Leigh <aleigh@php.net>
Mon, 8 Dec 2003 18:18:03 +0000 (18:18 +0000)
sapi/continuity/capi.c

index 078ffc5d7b54b1a3765ea7918bd81158593fab73..49e88e91a9465947ae4180e5e0ebbcd43464280b 100644 (file)
 #include "TSRM.h"
 #include "ext/standard/php_standard.h"
 
-/*
- * If neither XP_UNIX not XP_WIN32 is defined, try to guess which one.
- * Ideally, this should be done by the configure script.
- */
-#if !defined(XP_UNIX) && !defined(XP_WIN32)
-#if defined(WIN32)
-#define XP_WIN32
-#else
-#define XP_UNIX
-#endif
-#endif
-
 /*
  * CAPI includes
  */
@@ -465,14 +453,6 @@ int capi_module_main(NSLS_D TSRMLS_DC)
    return SUCCESS;
 }
 
-void php4_close(void *vparam)
-{
-   if (capi_sapi_module.shutdown) {
-      capi_sapi_module.shutdown(&capi_sapi_module);
-   }
-   tsrm_shutdown();
-}
-
 int phpFinit(lstTset * opt)
 {
    php_core_globals *core_globals;