summaryrefslogtreecommitdiff
path: root/sapi/apache/libpre.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-02-10 10:09:53 +0100
committerAnatol Belski <ab@php.net>2015-02-10 10:09:53 +0100
commitd7c6c6539956043d2c577a4dc922280a88627984 (patch)
treec45e1b221ed01aec10bfc45a31a22d60e33f9fcc /sapi/apache/libpre.c
parent400e65e955f08ad6ae57c1a15be04d5852107252 (diff)
parent56ec18c8affb71f7456508a7111748efdd40e115 (diff)
downloadphp-git-POST_PHP7_REMOVALS.tar.gz
Merge branch 'php7_removals'POST_PHP7_REMOVALS
Diffstat (limited to 'sapi/apache/libpre.c')
-rw-r--r--sapi/apache/libpre.c55
1 files changed, 0 insertions, 55 deletions
diff --git a/sapi/apache/libpre.c b/sapi/apache/libpre.c
deleted file mode 100644
index 94385dbbd1..0000000000
--- a/sapi/apache/libpre.c
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- +----------------------------------------------------------------------+
- | PHP Version 7 |
- +----------------------------------------------------------------------+
- | Copyright (c) 1997-2015 The PHP Group |
- +----------------------------------------------------------------------+
- | This source file is subject to version 3.01 of the PHP license, |
- | that is bundled with this package in the file LICENSE, and is |
- | available through the world-wide-web at the following url: |
- | http://www.php.net/license/3_01.txt |
- | If you did not receive a copy of the PHP license and are unable to |
- | obtain it through the world-wide-web, please send a note to |
- | license@php.net so we can mail you a copy immediately. |
- +----------------------------------------------------------------------+
- | Author: |
- +----------------------------------------------------------------------+
-*/
-
-/* $Id$ */
-
-#ifdef NETWARE
-
-/* ------------------------------------------------------------------
- * These functions are to be called when the shared NLM starts and
- * stops. By using these functions instead of defining a main()
- * and calling ExitThread(TSR_THREAD, 0), the load time of the
- * shared NLM is faster and memory size reduced.
- *
- * You may also want to override these in your own Apache module
- * to do any cleanup other than the mechanism Apache modules provide.
- * ------------------------------------------------------------------
- */
-
-
-#ifdef __GNUC__
-#include <string.h> /* memset */
-extern char _edata, _end ; /* end of DATA (start of BSS), end of BSS */
-#endif
-
-int _lib_start()
-{
-/* printf("Inside _lib_start\n");*/
-#ifdef __GNUC__
- memset (&_edata, 0, &_end - &_edata);
-#endif
- return 0;
-}
-
-int _lib_stop()
-{
-/* printf("Inside _lib_stop\n");*/
- return 0;
-}
-
-#endif /* NETWARE */