MFB: remove unused PHP_EXTNAME_API macros.

#in preparation for the gcc 4 visibility patch
This commit is contained in:
Nuno Lopes 2008-01-03 16:18:29 +00:00
parent 584a7c7be8
commit 1dc0e94e0f
26 changed files with 0 additions and 156 deletions

View File

@ -24,12 +24,6 @@
extern zend_module_entry com_dotnet_module_entry;
#define phpext_com_dotnet_ptr &com_dotnet_module_entry
#ifdef PHP_WIN32
# define PHP_COM_DOTNET_API __declspec(dllexport)
#else
# define PHP_COM_DOTNET_API
#endif
#ifdef ZTS
#include "TSRM.h"
#endif

View File

@ -24,12 +24,6 @@
extern zend_module_entry ctype_module_entry;
#define phpext_ctype_ptr &ctype_module_entry
#ifdef PHP_WIN32
#define PHP_CTYPE_API __declspec(dllexport)
#else
#define PHP_CTYPE_API
#endif
#else
#define phpext_ctype_ptr NULL

View File

@ -33,12 +33,6 @@
extern zend_module_entry filter_module_entry;
#define phpext_filter_ptr &filter_module_entry
#ifdef PHP_WIN32
#define PHP_FILTER_API __declspec(dllexport)
#else
#define PHP_FILTER_API
#endif
#ifdef ZTS
#include "TSRM.h"
#endif

View File

@ -26,12 +26,6 @@
extern zend_module_entry gmp_module_entry;
#define phpext_gmp_ptr &gmp_module_entry
#ifdef ZEND_WIN32
#define GMP_API __declspec(dllexport)
#else
#define GMP_API
#endif
ZEND_MODULE_STARTUP_D(gmp);
ZEND_MODULE_DEACTIVATE_D(gmp);
ZEND_MODULE_INFO_D(gmp);

View File

@ -26,12 +26,6 @@
extern zend_module_entry json_module_entry;
#define phpext_json_ptr &json_module_entry
#ifdef PHP_WIN32
#define PHP_JSON_API __declspec(dllexport)
#else
#define PHP_JSON_API
#endif
#ifdef ZTS
#include "TSRM.h"
#endif

View File

@ -24,12 +24,6 @@
extern zend_module_entry mime_magic_module_entry;
#define phpext_mime_magic_ptr &mime_magic_module_entry
#ifdef PHP_WIN32
#define PHP_MIME_MAGIC_API __declspec(dllexport)
#else
#define PHP_MIME_MAGIC_API
#endif
PHP_MINIT_FUNCTION(mime_magic);
PHP_MSHUTDOWN_FUNCTION(mime_magic);
PHP_RINIT_FUNCTION(mime_magic);

View File

@ -25,11 +25,6 @@
#if HAVE_MSSQL
#define MSDBLIB
#ifdef PHP_WIN32
#define PHP_MSSQL_API __declspec(dllexport)
#else
#define PHP_MSSQL_API
#endif
#include <sqlfront.h>
#include <sqldb.h>

View File

@ -31,12 +31,6 @@
# ifndef PHP_OCI8_H
# define PHP_OCI8_H
#ifdef PHP_WIN32
#define PHP_OCI_API __declspec(dllexport)
#else
#define PHP_OCI_API
#endif
#ifdef ZTS
# include "TSRM.h"
#endif

View File

@ -27,12 +27,6 @@
extern zend_module_entry pcntl_module_entry;
#define phpext_pcntl_ptr &pcntl_module_entry
#ifdef PHP_WIN32
#define PHP_PCNTL_API __declspec(dllexport)
#else
#define PHP_PCNTL_API
#endif
PHP_MINIT_FUNCTION(pcntl);
PHP_MSHUTDOWN_FUNCTION(pcntl);
PHP_RINIT_FUNCTION(pcntl);

View File

@ -26,12 +26,6 @@
extern zend_module_entry pdo_dblib_module_entry;
#define phpext_pdo_dblib_ptr &pdo_dblib_module_entry
#ifdef PHP_WIN32
# define PHP_PDO_DBLIB_API __declspec(dllexport)
#else
# define PHP_PDO_DBLIB_API
#endif
#ifdef ZTS
# include "TSRM.h"
#endif

View File

@ -24,18 +24,6 @@
extern zend_module_entry pdo_firebird_module_entry;
#define phpext_pdo_firebird_ptr &pdo_firebird_module_entry
#ifdef PHP_WIN32
# ifdef PDO_FIREBIRD_EXPORTS
# define PDO_FB_API __declspec(dllexport)
# elif defined(COMPILE_DL_PDO_FIREBIRD)
# define PDO_FB_API __declspec(dllimport)
# else
# define PDO_FB_API
# endif
#else
# define PDO_FB_API
#endif
#ifdef ZTS
#include "TSRM.h"
#endif

View File

@ -24,12 +24,6 @@
extern zend_module_entry pdo_mysql_module_entry;
#define phpext_pdo_mysql_ptr &pdo_mysql_module_entry
#ifdef PHP_WIN32
#define PHP_PDO_MYSQL_API __declspec(dllexport)
#else
#define PHP_PDO_MYSQL_API
#endif
#ifdef ZTS
#include "TSRM.h"
#endif

View File

@ -24,12 +24,6 @@
extern zend_module_entry pdo_oci_module_entry;
#define phpext_pdo_oci_ptr &pdo_oci_module_entry
#ifdef PHP_WIN32
#define PHP_PDO_OCI_API __declspec(dllexport)
#else
#define PHP_PDO_OCI_API
#endif
#ifdef ZTS
#include "TSRM.h"
#endif

View File

@ -24,12 +24,6 @@
extern zend_module_entry pdo_odbc_module_entry;
#define phpext_pdo_odbc_ptr &pdo_odbc_module_entry
#ifdef PHP_WIN32
#define PHP_PDO_ODBC_API __declspec(dllexport)
#else
#define PHP_PDO_ODBC_API
#endif
#ifdef ZTS
#include "TSRM.h"
#endif

View File

@ -26,12 +26,6 @@
extern zend_module_entry pdo_pgsql_module_entry;
#define phpext_pdo_pgsql_ptr &pdo_pgsql_module_entry
#ifdef PHP_WIN32
#define PHP_PDO_PGSQL_API __declspec(dllexport)
#else
#define PHP_PDO_PGSQL_API
#endif
#ifdef ZTS
#include "TSRM.h"
#endif

View File

@ -25,12 +25,6 @@
extern zend_module_entry pdo_sqlite_module_entry;
#define phpext_pdo_sqlite_ptr &pdo_sqlite_module_entry
#ifdef PHP_WIN32
#define PHP_PDO_SQLITE_API __declspec(dllexport)
#else
#define PHP_PDO_SQLITE_API
#endif
#ifdef ZTS
#include "TSRM.h"
#endif

View File

@ -24,12 +24,6 @@
extern zend_module_entry shmop_module_entry;
#define phpext_shmop_ptr &shmop_module_entry
#ifdef PHP_WIN32
#define PHP_SHMOP_API __declspec(dllexport)
#else
#define PHP_SHMOP_API
#endif
PHP_MINIT_FUNCTION(shmop);
PHP_MINFO_FUNCTION(shmop);

View File

@ -24,12 +24,6 @@
extern zend_module_entry simplexml_module_entry;
#define phpext_simplexml_ptr &simplexml_module_entry
#ifdef PHP_WIN32
#define PHP_SIMPLEXML_API __declspec(dllexport)
#else
#define PHP_SIMPLEXML_API
#endif
#ifdef ZTS
#include "TSRM.h"
#endif

View File

@ -225,11 +225,6 @@ ZEND_BEGIN_MODULE_GLOBALS(soap)
HashTable *ref_map;
ZEND_END_MODULE_GLOBALS(soap)
#ifdef PHP_WIN32
#define PHP_SOAP_API __declspec(dllexport)
#else
#define PHP_SOAP_API
#endif
#ifdef ZTS
#include "TSRM.h"
#endif

View File

@ -30,10 +30,8 @@ extern zend_module_entry sockets_module_entry;
#define phpext_sockets_ptr &sockets_module_entry
#ifdef PHP_WIN32
#define PHP_SOCKETS_API __declspec(dllexport)
#include <winsock.h>
#else
#define PHP_SOCKETS_API
#if HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif

View File

@ -26,12 +26,6 @@
extern zend_module_entry sqlite_module_entry;
#define phpext_sqlite_ptr &sqlite_module_entry
#ifdef PHP_WIN32
#define PHP_SQLITE_API __declspec(dllexport)
#else
#define PHP_SQLITE_API
#endif
#ifdef ZTS
#include "TSRM.h"
#endif

View File

@ -24,12 +24,6 @@
extern zend_module_entry tokenizer_module_entry;
#define phpext_tokenizer_ptr &tokenizer_module_entry
#ifdef PHP_WIN32
#define PHP_TOKENIZER_API __declspec(dllexport)
#else
#define PHP_TOKENIZER_API
#endif
#ifdef ZTS
#include "TSRM.h"
#endif

View File

@ -34,12 +34,6 @@ extern zend_module_entry xml_module_entry;
#include "ext/xml/expat_compat.h"
#ifdef PHP_WIN32
#define PHP_XML_API __declspec(dllexport)
#else
#define PHP_XML_API
#endif
#ifdef XML_UNICODE
#error "UTF-16 Unicode support not implemented!"

View File

@ -24,12 +24,6 @@
extern zend_module_entry xmlreader_module_entry;
#define phpext_xmlreader_ptr &xmlreader_module_entry
#ifdef PHP_WIN32
#define PHP_XMLREADER_API __declspec(dllexport)
#else
#define PHP_XMLREADER_API
#endif
#ifdef ZTS
#include "TSRM.h"
#endif

View File

@ -61,12 +61,6 @@
extern zend_module_entry xmlrpc_module_entry;
#define phpext_xmlrpc_ptr &xmlrpc_module_entry
#ifdef PHP_WIN32
#define PHP_XMLRPC_API __declspec(dllexport)
#else
#define PHP_XMLRPC_API
#endif
PHP_MINIT_FUNCTION(xmlrpc);
PHP_MINFO_FUNCTION(xmlrpc);

View File

@ -24,12 +24,6 @@
extern zend_module_entry xsl_module_entry;
#define phpext_xsl_ptr &xsl_module_entry
#ifdef PHP_WIN32
#define PHP_XSL_API __declspec(dllexport)
#else
#define PHP_XSL_API
#endif
#ifdef ZTS
#include "TSRM.h"
#endif