summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-01-28 13:31:12 +0000
committerZeev Suraski <zeev@php.net>2000-01-28 13:31:12 +0000
commitfc678100cd378669f27493fac3eb184f0643d047 (patch)
treefdd5eb398ca9e5a903747f96bcd12786736fc9c7
parent6f63373bb239f27dc2b29cdb6ace8297f30992a7 (diff)
downloadphp-git-fc678100cd378669f27493fac3eb184f0643d047.tar.gz
post.c really had nothing to do with POST anymore, and it belongs to the top level directory
-rw-r--r--Makefile.in2
-rw-r--r--ext/standard/Makefile.in2
-rw-r--r--ext/standard/fsock.c1
-rw-r--r--ext/standard/head.c1
-rw-r--r--ext/standard/php_standard.h1
-rw-r--r--ext/standard/string.c2
-rw-r--r--main/main.c1
-rw-r--r--main/rfc1867.c1
-rw-r--r--php_gpce.c (renamed from ext/standard/post.c)3
-rw-r--r--php_gpce.h (renamed from ext/standard/post.h)0
10 files changed, 7 insertions, 7 deletions
diff --git a/Makefile.in b/Makefile.in
index c594072212..3dbcdcfe92 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -14,7 +14,7 @@ LTLIBRARY_SOURCES = \
configuration-parser.c configuration-scanner.c request_info.c \
safe_mode.c fopen-wrappers.c php_realpath.c alloca.c \
php_ini.c SAPI.c rfc1867.c dlist.c php_content_types.c strlcpy.c \
- strlcat.c mergesort.c reentrancy.c
+ strlcat.c mergesort.c reentrancy.c php_gpce.c
LTLIBRARY_DEPENDENCIES = \
Zend/libZend.la \
diff --git a/ext/standard/Makefile.in b/ext/standard/Makefile.in
index 46c6c3ddf5..e58bbcf3a7 100644
--- a/ext/standard/Makefile.in
+++ b/ext/standard/Makefile.in
@@ -10,7 +10,7 @@ LTLIBRARY_SOURCES=\
dir.c dl.c dns.c exec.c file.c filestat.c flock_compat.c \
formatted_print.c fsock.c head.c html.c image.c info.c iptc.c lcg.c \
link.c mail.c math.c md5.c metaphone.c microtime.c pack.c pageinfo.c \
- parsedate.c post.c quot_print.c rand.c reg.c soundex.c string.c \
+ parsedate.c quot_print.c rand.c reg.c soundex.c string.c \
syslog.c type.c uniqid.c url.c url_scanner.c var.c output.c assert.c
include $(topsrcdir)/build/ltlib.mk
diff --git a/ext/standard/fsock.c b/ext/standard/fsock.c
index eb7f173e8d..0358e9e391 100644
--- a/ext/standard/fsock.c
+++ b/ext/standard/fsock.c
@@ -65,7 +65,6 @@
#include "base64.h"
#include "file.h"
-#include "post.h"
#include "url.h"
#include "fsock.h"
diff --git a/ext/standard/head.c b/ext/standard/head.c
index a6b973cec6..8e33490cda 100644
--- a/ext/standard/head.c
+++ b/ext/standard/head.c
@@ -23,7 +23,6 @@
#include "SAPI.h"
#include "main.h"
#include "head.h"
-#include "post.h"
#include "SAPI.h"
#ifdef TM_IN_SYS_TIME
#include <sys/time.h>
diff --git a/ext/standard/php_standard.h b/ext/standard/php_standard.h
index 8e48c18503..9f6d64221a 100644
--- a/ext/standard/php_standard.h
+++ b/ext/standard/php_standard.h
@@ -63,7 +63,6 @@
#include "dl.h"
#include "php_crypt.h"
#include "head.h"
-#include "post.h"
#define phpext_standard_ptr basic_functions_module_ptr
diff --git a/ext/standard/string.c b/ext/standard/string.c
index f199c03b55..5b0a517eb0 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -25,8 +25,8 @@
#include <stdio.h>
#include "php.h"
#include "reg.h"
-#include "post.h"
#include "php_string.h"
+#include "php_gpce.h"
#ifdef HAVE_LOCALE_H
# include <locale.h>
#endif
diff --git a/main/main.c b/main/main.c
index 77d9d78e34..0bee112546 100644
--- a/main/main.c
+++ b/main/main.c
@@ -50,6 +50,7 @@
#include "fopen-wrappers.h"
#include "ext/standard/php_standard.h"
#include "snprintf.h"
+#include "php_gpce.h"
#if WIN32|WINNT
#include <io.h>
#include <fcntl.h>
diff --git a/main/rfc1867.c b/main/rfc1867.c
index 76819f8fd9..12ed4f2934 100644
--- a/main/rfc1867.c
+++ b/main/rfc1867.c
@@ -23,6 +23,7 @@
#include "ext/standard/file.h" /* for php_file_le_uploads() */
#include "zend_globals.h"
#include "php_globals.h"
+#include "php_gpce.h"
#include "rfc1867.h"
diff --git a/ext/standard/post.c b/php_gpce.c
index b38ad906f8..c2d0d285da 100644
--- a/ext/standard/post.c
+++ b/php_gpce.c
@@ -20,7 +20,8 @@
#include <stdio.h>
#include "php.h"
-#include "php_standard.h"
+#include "ext/standard/php_standard.h"
+#include "php_gpce.h"
#include "php_globals.h"
#include "SAPI.h"
diff --git a/ext/standard/post.h b/php_gpce.h
index bfbddcb34e..bfbddcb34e 100644
--- a/ext/standard/post.h
+++ b/php_gpce.h