summaryrefslogtreecommitdiff
path: root/ext/standard/php_noavail.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-05-29 16:13:38 +0000
committerZeev Suraski <zeev@php.net>2000-05-29 16:13:38 +0000
commitc07a056dac7d23f5f3cf12680bca5f4b16b2430e (patch)
tree655d2577785f4fdc116d088cc1e76f5d52113a25 /ext/standard/php_noavail.c
parent56dcb7ed079992389ba1a1f494fe9a47e9ca42e1 (diff)
downloadphp-git-c07a056dac7d23f5f3cf12680bca5f4b16b2430e.tar.gz
There's really no need for an entire file for a one line function...
Diffstat (limited to 'ext/standard/php_noavail.c')
-rw-r--r--ext/standard/php_noavail.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/ext/standard/php_noavail.c b/ext/standard/php_noavail.c
deleted file mode 100644
index 7a53d3f0e1..0000000000
--- a/ext/standard/php_noavail.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- +----------------------------------------------------------------------+
- | PHP version 4.0 |
- +----------------------------------------------------------------------+
- | Copyright (c) 1997, 1998, 1999, 2000 The PHP Group |
- +----------------------------------------------------------------------+
- | This source file is subject to version 2.02 of the PHP license, |
- | that is bundled with this package in the file LICENSE, and is |
- | available at through the world-wide-web at |
- | http://www.php.net/license/2_02.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. |
- +----------------------------------------------------------------------+
- | Authors: Hartmut Holzgraefe <hartmut@six.de> |
- +----------------------------------------------------------------------+
-*/
-
-#include "php_noavail.h"
-
-PHP_FUNCTION(warn_not_available)
-{
-php_error(E_WARNING,
- "%s() is not supported in this PHP build",
- get_active_function_name());
- RETURN_FALSE;
-}