Rename macros which begin with underscore to appropiate macros. The general

rule is:

	macro_name=`echo $filename|tr a-z A-Z|sed 's/\./_/'`
This commit is contained in:
Sascha Schumann 2000-07-03 00:41:19 +00:00
parent b982307dd1
commit cd754d7825
29 changed files with 79 additions and 79 deletions

View file

@ -30,8 +30,8 @@
/* $Id$ */
#ifndef _ASPELL_H
#define _ASPELL_H
#ifndef PHP_ASPELL_H
#define PHP_ASPELL_H
#if HAVE_ASPELL
extern zend_module_entry aspell_module_entry;
#define aspell_module_ptr &aspell_module_entry
@ -50,4 +50,4 @@ PHP_FUNCTION(aspell_suggest);
#define phpext_aspell_ptr aspell_module_ptr
#endif /* _ASPELL_H */
#endif /* PHP_ASPELL_H */

View file

@ -1,5 +1,5 @@
#ifndef _INCLUDED_CALENDAR_H
#define _INCLUDED_CALENDAR_H
#ifndef PHP_CALENDAR_H
#define PHP_CALENDAR_H

View file

@ -29,8 +29,8 @@
/* $Id$ */
#ifndef _DBA_H
#define _DBA_H
#ifndef PHP_DBA_H
#define PHP_DBA_H
#if HAVE_DBA

View file

@ -29,8 +29,8 @@
/* $Id$ */
#ifndef _DBASE_H
#define _DBASE_H
#ifndef PHP_DBASE_H
#define PHP_DBASE_H
#if DBASE
extern zend_module_entry dbase_module_entry;
#define dbase_module_ptr &dbase_module_entry
@ -52,4 +52,4 @@ PHP_FUNCTION(dbase_get_record_with_names);
#define phpext_dbase_ptr dbase_module_ptr
#endif /* _DBASE_H */
#endif /* PHP_DBASE_H */

View file

@ -36,8 +36,8 @@
/* $Id$ */
#ifndef _FILEPRO_H
#define _FILEPRO_H
#ifndef PHP_FILEPRO_H
#define PHP_FILEPRO_H
#if HAVE_FILEPRO
extern zend_module_entry filepro_module_entry;
#define phpext_filepro_ptr &filepro_module_entry
@ -55,4 +55,4 @@ extern PHP_MSHUTDOWN_FUNCTION(filepro);
#else
#define phpext_filepro_ptr NULL
#endif
#endif /* _FILEPRO_H */
#endif /* PHP_FILEPRO_H */

View file

@ -29,8 +29,8 @@
/* $Id$ */
#ifndef _GETTEXT_H
#define _GETTEXT_H
#ifndef PHP_GETTEXT_H
#define PHP_GETTEXT_H
#if HAVE_LIBINTL
#ifndef INIT_FUNC_ARGS
@ -54,4 +54,4 @@ PHP_FUNCTION(bindtextdomain);
#define phpext_gettext_ptr gettext_module_ptr
#endif /* _GETTEXT_H */
#endif /* PHP_GETTEXT_H */

View file

@ -25,8 +25,8 @@
/* $Id$ */
#ifndef _HW_H
#define _HW_H
#ifndef PHP_HYPERWAVE_H
#define PHP_HYPERWAVE_H
#ifdef PHP_WIN32
#define PHP_HW_API __declspec(dllexport)
@ -155,5 +155,5 @@ PHP_FUNCTION(hw_mapid);
#define hw_module_ptr NULL
#endif /* HYPERWAVE */
#define phpext_hyperwave_ptr hw_module_ptr
#endif /* _HW_H */
#endif /* PHP_HYPERWAVE_H */

View file

@ -1,7 +1,7 @@
/* $Id$ */
#ifndef _INCLUDED_ICAP_H
#define _INCLUDED_ICAP_H
#ifndef PHP_ICAP_H
#define PHP_ICAP_H
#if HAVE_ICAP

View file

@ -1,5 +1,5 @@
#ifndef _INCLUDED_IMAP_H
#define _INCLUDED_IMAP_H
#ifndef PHP_IMAP_H
#define PHP_IMAP_H
#ifndef PHP_WIN32

View file

@ -31,8 +31,8 @@
*/
#ifndef _PHP_IFX_H
#define _PHP_IFX_H
#ifndef PHP_INFORMIX_H
#define PHP_INFORMIX_H
#ifdef PHP_WIN32
#define PHP_IFX_API __declspec(dllexport)
@ -222,4 +222,4 @@ typedef struct _IFX_IDRES {
#define phpext_informix_ptr ifx_module_ptr
#endif /* _PHP_IFX_H */
#endif /* PHP_INFORMIX_H */

View file

@ -19,8 +19,8 @@
/* $Id$ */
#ifndef _PHP_IBASE_H
#define _PHP_IBASE_H
#ifndef PHP_INTERBASE_H
#define PHP_INTERBASE_H
#if HAVE_IBASE
#include <ibase.h>
@ -171,7 +171,7 @@ extern PHP_IBASE_API php_ibase_globals ibase_globals;
#endif /* HAVE_IBASE */
#endif /* _PHP_IBASE_H */
#endif /* PHP_INTERBASE_H */
/*
* Local variables:

View file

@ -1,7 +1,7 @@
/* $Id$ */
#ifndef _INCLUDED_MCAL_H
#define _INCLUDED_MCAL_H
#ifndef PHP_MCAL_H
#define PHP_MCAL_H
#if HAVE_MCAL

View file

@ -1,7 +1,7 @@
/* __header_here__ */
#ifndef _PHP_EXTNAME_H
#define _PHP_EXTNAME_H
#ifndef PHP_EXTNAME_H
#define PHP_EXTNAME_H
/* You should tweak config.m4 so this symbol (or some else suitable)
gets defined.
@ -59,6 +59,6 @@ typedef struct {
#endif
#endif /* _PHP_EXTNAME_H */
#endif /* PHP_EXTNAME_H */
/* __footer_here__ */

View file

@ -28,8 +28,8 @@
*/
/* $Id$ */
#ifndef _BASE64_h
#define _BASE64_h
#ifndef BASE64_H
#define BASE64_H
PHP_FUNCTION(base64_decode);
PHP_FUNCTION(base64_encode);
@ -37,7 +37,7 @@ PHP_FUNCTION(base64_encode);
extern unsigned char *php_base64_encode(const unsigned char *, int, int *);
extern unsigned char *php_base64_decode(const unsigned char *, int, int *);
#endif /* _BASE64_h */
#endif /* BASE64_H */
/*
* Local variables:

View file

@ -26,8 +26,8 @@
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
#ifndef _md5_h
#define _md5_h
#ifndef MD5_H
#define MD5_H
/* MD5.H - header file for MD5C.C
*/

View file

@ -1,5 +1,5 @@
#ifndef _PROCESS_H
#define _PROCESS_H
#ifndef PAGEINFO_H
#define PAGEINFO_H
PHP_FUNCTION(getmyuid);
PHP_FUNCTION(getmypid);

View file

@ -29,8 +29,8 @@
/* $Id$ */
#ifndef _FILESTAT_H
#define _FILESTAT_H
#ifndef PHP_FILESTAT_H
#define PHP_FILESTAT_H
PHP_RINIT_FUNCTION(filestat);
PHP_RSHUTDOWN_FUNCTION(filestat);
@ -61,4 +61,4 @@ PHP_FUNCTION(chmod);
PHP_FUNCTION(touch);
PHP_FUNCTION(clearstatcache);
#endif /* _FILESTAT_H */
#endif /* PHP_FILESTAT_H */

View file

@ -18,9 +18,9 @@
/* $Id$ */
#ifndef _IMAGE_H
#define _IMAGE_H
#ifndef PHP_IMAGE_H
#define PHP_IMAGE_H
PHP_FUNCTION(getimagesize);
#endif /* _IMAGE_H */
#endif /* PHP_IMAGE_H */

View file

@ -30,10 +30,10 @@
/* $Id$ */
#ifndef _PHPIPTC_H
#define _PHPIPTC_H
#ifndef PHP_IPTC_H
#define PHP_IPTC_H
PHP_FUNCTION(iptcparse);
PHP_FUNCTION(iptcembed);
#endif /* _PHPIPTC_H */
#endif /* PHP_IPTC_H */

View file

@ -30,8 +30,8 @@
/* $Id$ */
#ifndef _MAIL_H
#define _MAIL_H
#ifndef PHP_MAIL_H
#define PHP_MAIL_H
#if HAVE_SENDMAIL
@ -42,4 +42,4 @@ extern int php_mail(char *to, char *subject, char *message, char *headers);
#endif
#endif /* _MAIL_H */
#endif /* PHP_MAIL_H */

View file

@ -31,8 +31,8 @@
/* $Id$ */
#ifndef _PHPMATH_H
#define _PHPMATH_H
#ifndef PHP_MATH_H
#define PHP_MATH_H
PHP_FUNCTION(sin);
PHP_FUNCTION(cos);
PHP_FUNCTION(tan);
@ -121,4 +121,4 @@ PHP_FUNCTION(rad2deg);
#define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */
#endif
#endif /* _PHPMATH_H */
#endif /* PHP_MATH_H */

View file

@ -18,8 +18,8 @@
/* $Id$ */
#ifndef _php_metaphone_h
#define _php_metaphone_h
#ifndef PHP_METAPHONE_H
#define PHP_METAPHONE_H
PHP_FUNCTION(metaphone);

View file

@ -17,8 +17,8 @@
*/
#ifndef _OUTPUT_BUFFER
#define _OUTPUT_BUFFER
#ifndef PHP_OUTPUT_H
#define PHP_OUTPUT_H
#include "php.h"
@ -69,4 +69,4 @@ ZEND_API extern php_output_globals output_globals;
#endif
#endif /* _OUTPUT_BUFFER */
#endif /* PHP_OUTPUT_H */

View file

@ -33,8 +33,8 @@
/* Synced with php 3.0 revision 1.43 1999-06-16 [ssb] */
#ifndef _PHPSTRING_H
#define _PHPSTRING_H
#ifndef PHP_STRING_H
#define PHP_STRING_H
PHP_FUNCTION(strspn);
PHP_FUNCTION(strcspn);
@ -123,4 +123,4 @@ PHPAPI char *php_strerror(int errnum);
#define strerror php_strerror
#endif
#endif /* _PHPSTRING_H */
#endif /* PHP_STRING_H */

View file

@ -28,8 +28,8 @@
*/
#ifndef _PHPVAR_H
#define _PHPVAR_H
#ifndef PHP_VAR_H
#define PHP_VAR_H
PHP_FUNCTION(var_dump);
PHP_FUNCTION(serialize);
@ -41,4 +41,4 @@ int php_var_unserialize(pval **rval, const char **p, const char *max);
PHPAPI zend_class_entry *php_create_empty_class(char *class_name,int len);
#endif /* _PHPVAR_H */
#endif /* PHP_VAR_H */

View file

@ -15,8 +15,8 @@
| Authors: clayton collie <clcollie@mindspring.com> |
+----------------------------------------------------------------------+
*/
#ifndef _SCAN_H_
#define _SCAN_H_
#ifndef SCANF_H
#define SCANF_H
#define SCAN_MAX_ARGS 0xFF /* Maximum number of variable which can be */
@ -45,4 +45,4 @@ PHPAPI int php_sscanf_internal(char *string,char *format,int argCount,zval ***ar
inline void scan_set_error_return(int numVars,pval **return_value);
#endif /* ifndef _SCAN_PHP_ */
#endif /* SCANF_H */

View file

@ -30,8 +30,8 @@
/* $Id$ */
#ifndef _PHP_SYBASE_H
#define _PHP_SYBASE_H
#ifndef PHP_SYBASE_DB_H
#define PHP_SYBASE_DB_H
#if HAVE_SYBASE
@ -135,4 +135,4 @@ extern sybase_module php_sybase_module;
#define phpext_sybase_ptr sybase_module_ptr
#endif /* _PHP_SYBASE_H */
#endif /* PHP_SYBASE_DB_H */

View file

@ -29,8 +29,8 @@
/* $Id$ */
#ifndef _WDDX_H
#define _WDDX_H
#ifndef PHP_WDDX_H
#define PHP_WDDX_H
#if HAVE_WDDX
@ -56,4 +56,4 @@ PHP_FUNCTION(wddx_deserialize);
#define phpext_wddx_ptr wddx_module_ptr
#endif /* !_WDDX_H */
#endif /* !PHP_WDDX_H */

View file

@ -17,8 +17,8 @@
*/
#ifndef _OUTPUT_BUFFER
#define _OUTPUT_BUFFER
#ifndef PHP_OUTPUT_H
#define PHP_OUTPUT_H
#include "php.h"
@ -69,4 +69,4 @@ ZEND_API extern php_output_globals output_globals;
#endif
#endif /* _OUTPUT_BUFFER */
#endif /* PHP_OUTPUT_H */