mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Trailing whitespaces on ext/*
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
This commit is contained in:
parent
0e3dede07c
commit
2238403892
20 changed files with 646 additions and 646 deletions
|
@ -274,7 +274,7 @@ typedef struct {
|
|||
typedef struct {
|
||||
uint16_t ce_namlen;
|
||||
uint32_t ce_num;
|
||||
uint64_t ce_timestamp;
|
||||
uint64_t ce_timestamp;
|
||||
uint16_t ce_name[256];
|
||||
} cdf_catalog_entry_t;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* Copyright (c) Christos Zoulas 2008.
|
||||
* All Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
|
@ -11,7 +11,7 @@
|
|||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* $Log$
|
||||
* Revision 1.9 2016/10/11 22:27:12 ab
|
||||
* Update libmagic to 5.28
|
||||
*
|
||||
*
|
||||
* $Log$
|
||||
* Revision 1.9 2015/03/06 22:27:12 ab
|
||||
* Update libmagic to 5.2X
|
||||
|
@ -369,14 +369,14 @@
|
|||
* Numerous changes from Guy Harris too numerous to mention but including
|
||||
* byte-order independance, fixing "old-style masking", etc. etc. A bugfix
|
||||
* for broken symlinks from martin@@d255s004.zfe.siemens.de.
|
||||
*
|
||||
*
|
||||
* Revision 1.7 93/01/05 14:57:27 ian
|
||||
* Couple of nits picked by Christos (again, thanks).
|
||||
*
|
||||
*
|
||||
* Revision 1.6 93/01/05 13:51:09 ian
|
||||
* Lotsa work on the Magic directory.
|
||||
*
|
||||
*
|
||||
* Revision 1.5 92/09/14 14:54:51 ian
|
||||
* Fix a tiny null-pointer bug in previous fix for tar archive + uncompress.
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -143,7 +143,7 @@ typedef struct {
|
|||
OnigCodePoint one_or_more_time;
|
||||
OnigCodePoint anychar_anytime;
|
||||
} OnigMetaCharTableType;
|
||||
|
||||
|
||||
typedef int (*OnigApplyAllCaseFoldFunc)(OnigCodePoint from, OnigCodePoint* to, int to_len, void* arg);
|
||||
|
||||
typedef struct OnigEncodingTypeST {
|
||||
|
@ -549,7 +549,7 @@ ONIG_EXTERN OnigSyntaxType* OnigDefaultSyntax;
|
|||
#define ONIGERR_SPECIFIED_ENCODING_CANT_CONVERT_TO_WIDE_CHAR -22
|
||||
#define ONIGERR_FAIL_TO_INITIALIZE -23
|
||||
/* general error */
|
||||
#define ONIGERR_INVALID_ARGUMENT -30
|
||||
#define ONIGERR_INVALID_ARGUMENT -30
|
||||
/* syntax error */
|
||||
#define ONIGERR_END_PATTERN_AT_LEFT_BRACE -100
|
||||
#define ONIGERR_END_PATTERN_AT_LEFT_BRACKET -101
|
||||
|
|
|
@ -238,6 +238,6 @@ ONIG_EXTERN const unsigned short OnigEncAsciiCtypeTable[];
|
|||
#define ONIGENC_IS_ASCII_CODE_CASE_AMBIG(code) \
|
||||
(ONIGENC_IS_ASCII_CODE_CTYPE(code, ONIGENC_CTYPE_UPPER) ||\
|
||||
ONIGENC_IS_ASCII_CODE_CTYPE(code, ONIGENC_CTYPE_LOWER))
|
||||
|
||||
|
||||
|
||||
#endif /* REGENC_H */
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* This file was generated from a modified version UCData's ucgendat.
|
||||
*
|
||||
* DO NOT EDIT THIS FILE!
|
||||
*
|
||||
*
|
||||
* Instead, compile ucgendat.c (bundled with PHP in ext/mbstring), download
|
||||
* the appropriate UnicodeData-x.x.x.txt and CompositionExclusions-x.x.x.txt
|
||||
* files from http://www.unicode.org/Public/ and run this program.
|
||||
|
|
|
@ -98,7 +98,7 @@ extern zend_class_entry *oci_coll_class_entry_ptr;
|
|||
#define PHP_OCI_ERRBUF_LEN OCI_ERROR_MAXMSG_SIZE2
|
||||
#else
|
||||
#define PHP_OCI_ERRBUF_LEN OCI_ERROR_MAXMSG_SIZE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* The mode parameter for oci_connect() is overloaded and accepts both
|
||||
* privilege and external authentication flags OR'd together.
|
||||
|
@ -136,7 +136,7 @@ typedef struct {
|
|||
/* }}} */
|
||||
|
||||
/* {{{ php_oci_connection */
|
||||
typedef struct {
|
||||
typedef struct {
|
||||
zend_resource *id; /* resource ID */
|
||||
OCIEnv *env; /* private env handle */
|
||||
ub2 charset; /* charset ID */
|
||||
|
@ -170,7 +170,7 @@ typedef struct {
|
|||
/* }}} */
|
||||
|
||||
/* {{{ php_oci_descriptor */
|
||||
typedef struct {
|
||||
typedef struct {
|
||||
zend_resource *id;
|
||||
zend_ulong index; /* descriptors hash table index */
|
||||
php_oci_connection *connection; /* parent connection handle */
|
||||
|
@ -187,7 +187,7 @@ typedef struct {
|
|||
/* }}} */
|
||||
|
||||
/* {{{ php_oci_lob_ctx */
|
||||
typedef struct {
|
||||
typedef struct {
|
||||
char **lob_data; /* address of pointer to LOB data */
|
||||
ub4 *lob_len; /* address of LOB length variable (bytes) */
|
||||
ub4 alloc_len;
|
||||
|
@ -195,7 +195,7 @@ typedef struct {
|
|||
/* }}} */
|
||||
|
||||
/* {{{ php_oci_collection */
|
||||
typedef struct {
|
||||
typedef struct {
|
||||
zend_resource *id;
|
||||
php_oci_connection *connection; /* parent connection handle */
|
||||
OCIType *tdo; /* collection's type handle */
|
||||
|
@ -208,7 +208,7 @@ typedef struct {
|
|||
/* }}} */
|
||||
|
||||
/* {{{ php_oci_define */
|
||||
typedef struct {
|
||||
typedef struct {
|
||||
zval val; /* zval used in define */
|
||||
text *name; /* placeholder's name */
|
||||
ub4 name_len; /* placeholder's name length */
|
||||
|
@ -217,7 +217,7 @@ typedef struct {
|
|||
/* }}} */
|
||||
|
||||
/* {{{ php_oci_statement */
|
||||
typedef struct {
|
||||
typedef struct {
|
||||
zend_resource *id;
|
||||
zend_resource *parent_stmtid; /* parent statement id */
|
||||
struct php_oci_statement *impres_child_stmt;/* child of current Implicit Result Set statement handle */
|
||||
|
@ -242,7 +242,7 @@ typedef struct {
|
|||
/* }}} */
|
||||
|
||||
/* {{{ php_oci_bind */
|
||||
typedef struct {
|
||||
typedef struct {
|
||||
OCIBind *bind; /* bind handle */
|
||||
zval val; /* value */
|
||||
dvoid *descriptor; /* used for binding of LOBS etc */
|
||||
|
@ -265,7 +265,7 @@ typedef struct {
|
|||
/* }}} */
|
||||
|
||||
/* {{{ php_oci_out_column */
|
||||
typedef struct {
|
||||
typedef struct {
|
||||
php_oci_statement *statement; /* statement handle. used when fetching REFCURSORS */
|
||||
php_oci_statement *nested_statement; /* statement handle. used when fetching REFCURSORS */
|
||||
OCIDefine *oci_define; /* define handle */
|
||||
|
|
|
@ -43,7 +43,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
#define PCRE2_MAJOR 10
|
||||
#define PCRE2_MINOR 30
|
||||
#define PCRE2_PRERELEASE
|
||||
#define PCRE2_PRERELEASE
|
||||
#define PCRE2_DATE 2017-08-14
|
||||
|
||||
/* When an application links to a PCRE DLL in Windows, the symbols that are
|
||||
|
|
|
@ -62,7 +62,7 @@ typedef void (*info_func_t)(char*);
|
|||
#endif
|
||||
|
||||
#if defined(_LP64) || defined(__LP64__) || defined(__arch64__) || defined(_WIN64)
|
||||
# define PDO_FIREBIRD_HANDLE_INITIALIZER 0U
|
||||
# define PDO_FIREBIRD_HANDLE_INITIALIZER 0U
|
||||
#else
|
||||
# define PDO_FIREBIRD_HANDLE_INITIALIZER NULL
|
||||
#endif
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -12,7 +12,7 @@
|
|||
** This header file defines the SQLite interface for use by
|
||||
** shared libraries that want to be imported as extensions into
|
||||
** an SQLite instance. Shared libraries that intend to be loaded
|
||||
** as extensions by SQLite should #include this file instead of
|
||||
** as extensions by SQLite should #include this file instead of
|
||||
** sqlite3.h.
|
||||
*/
|
||||
#ifndef SQLITE3EXT_H
|
||||
|
@ -561,14 +561,14 @@ typedef int (*sqlite3_loadext_entry)(
|
|||
#endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */
|
||||
|
||||
#if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION)
|
||||
/* This case when the file really is being compiled as a loadable
|
||||
/* This case when the file really is being compiled as a loadable
|
||||
** extension */
|
||||
# define SQLITE_EXTENSION_INIT1 const sqlite3_api_routines *sqlite3_api=0;
|
||||
# define SQLITE_EXTENSION_INIT2(v) sqlite3_api=v;
|
||||
# define SQLITE_EXTENSION_INIT3 \
|
||||
extern const sqlite3_api_routines *sqlite3_api;
|
||||
#else
|
||||
/* This case when the file is being statically linked into the
|
||||
/* This case when the file is being statically linked into the
|
||||
** application */
|
||||
# define SQLITE_EXTENSION_INIT1 /*no-op*/
|
||||
# define SQLITE_EXTENSION_INIT2(v) (void)v; /* unused parameter */
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*
|
||||
/*
|
||||
DO NOT EDIT THIS FILE!
|
||||
|
||||
it has been automaticaly created by php7/scripts/credits from
|
||||
it has been automaticaly created by php7/scripts/credits from
|
||||
the information found in the various php7/ext/.../CREDITS and
|
||||
php7/sapi/.../CREDITS files
|
||||
|
||||
if you want to change an entry you have to edit the appropriate
|
||||
php7/sapi/.../CREDITS files
|
||||
|
||||
if you want to change an entry you have to edit the appropriate
|
||||
CREDITS file instead
|
||||
|
||||
*/
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*
|
||||
/*
|
||||
DO NOT EDIT THIS FILE!
|
||||
|
||||
it has been automaticaly created by php7/scripts/credits from
|
||||
it has been automaticaly created by php7/scripts/credits from
|
||||
the information found in the various php7/ext/.../CREDITS and
|
||||
php7/sapi/.../CREDITS files
|
||||
|
||||
if you want to change an entry you have to edit the appropriate
|
||||
php7/sapi/.../CREDITS files
|
||||
|
||||
if you want to change an entry you have to edit the appropriate
|
||||
CREDITS file instead
|
||||
|
||||
*/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
/*
|
||||
+----------------------------------------------------------------------+
|
||||
| PHP Version 7 |
|
||||
+----------------------------------------------------------------------+
|
||||
|
@ -68,7 +68,7 @@ PHP_FUNCTION(rad2deg);
|
|||
PHP_FUNCTION(intdiv);
|
||||
|
||||
/*
|
||||
WARNING: these functions are expermental: they could change their names or
|
||||
WARNING: these functions are expermental: they could change their names or
|
||||
disappear in the next version of PHP!
|
||||
*/
|
||||
PHP_FUNCTION(hypot);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
/*
|
||||
+----------------------------------------------------------------------+
|
||||
| PHP Version 7 |
|
||||
+----------------------------------------------------------------------+
|
||||
|
@ -140,8 +140,8 @@ PHPAPI size_t php_strip_tags_ex(char *rbuf, size_t len, uint8_t *stateptr, const
|
|||
PHPAPI void php_implode(const zend_string *delim, zval *arr, zval *return_value);
|
||||
PHPAPI void php_explode(const zend_string *delim, zend_string *str, zval *return_value, zend_long limit);
|
||||
|
||||
PHPAPI size_t php_strspn(char *s1, char *s2, char *s1_end, char *s2_end);
|
||||
PHPAPI size_t php_strcspn(char *s1, char *s2, char *s1_end, char *s2_end);
|
||||
PHPAPI size_t php_strspn(char *s1, char *s2, char *s1_end, char *s2_end);
|
||||
PHPAPI size_t php_strcspn(char *s1, char *s2, char *s1_end, char *s2_end);
|
||||
|
||||
PHPAPI int string_natural_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_insensitive);
|
||||
PHPAPI int string_natural_compare_function(zval *result, zval *op1, zval *op2);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
/*
|
||||
+----------------------------------------------------------------------+
|
||||
| PHP Version 7 |
|
||||
+----------------------------------------------------------------------+
|
||||
|
|
|
@ -34,7 +34,7 @@ extern zend_module_entry xml_module_entry;
|
|||
#define xml_module_ptr NULL
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_XML
|
||||
#ifdef HAVE_XML
|
||||
|
||||
#include "ext/xml/expat_compat.h"
|
||||
|
||||
|
@ -60,7 +60,7 @@ typedef struct {
|
|||
zval unparsedEntityDeclHandler;
|
||||
zval notationDeclHandler;
|
||||
zval externalEntityRefHandler;
|
||||
zval unknownEncodingHandler;
|
||||
zval unknownEncodingHandler;
|
||||
zval startNamespaceDeclHandler;
|
||||
zval endNamespaceDeclHandler;
|
||||
|
||||
|
@ -88,7 +88,7 @@ typedef struct {
|
|||
int lastwasopen;
|
||||
int skipwhite;
|
||||
int isparsing;
|
||||
|
||||
|
||||
XML_Char *baseURI;
|
||||
} xml_parser;
|
||||
|
||||
|
@ -108,9 +108,9 @@ enum php_xml_option {
|
|||
};
|
||||
|
||||
/* for xml_parse_into_struct */
|
||||
|
||||
|
||||
#define XML_MAXLEVEL 255 /* XXX this should be dynamic */
|
||||
|
||||
|
||||
PHP_FUNCTION(xml_parser_create);
|
||||
PHP_FUNCTION(xml_parser_create_ns);
|
||||
PHP_FUNCTION(xml_set_object);
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
3. The names of the authors may not be used to endorse or promote
|
||||
products derived from this software without specific prior
|
||||
written permission.
|
||||
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
|
||||
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
|
@ -127,7 +127,7 @@ extern "C" {
|
|||
#define ZIP_ER_REMOVE 22 /* S Can't remove file */
|
||||
#define ZIP_ER_DELETED 23 /* N Entry has been deleted */
|
||||
#define ZIP_ER_ENCRNOTSUPP 24 /* N Encryption method not supported */
|
||||
#define ZIP_ER_RDONLY 25 /* N Read-only archive */
|
||||
#define ZIP_ER_RDONLY 25 /* N Read-only archive */
|
||||
#define ZIP_ER_NOPASSWD 26 /* N No password provided */
|
||||
#define ZIP_ER_WRONGPASSWD 27 /* N Wrong password provided */
|
||||
#define ZIP_ER_OPNOTSUPP 28 /* N Operation not supported */
|
||||
|
@ -299,7 +299,7 @@ typedef struct zip_file zip_file_t;
|
|||
typedef struct zip_source zip_source_t;
|
||||
typedef struct zip_stat zip_stat_t;
|
||||
|
||||
typedef zip_uint32_t zip_flags_t;
|
||||
typedef zip_uint32_t zip_flags_t;
|
||||
|
||||
typedef zip_int64_t (*zip_source_callback)(void *, void *, zip_uint64_t, zip_source_cmd_t);
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
3. The names of the authors may not be used to endorse or promote
|
||||
products derived from this software without specific prior
|
||||
written permission.
|
||||
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
|
||||
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
|
@ -313,7 +313,7 @@ struct zip {
|
|||
zip_source_t **open_source; /* open sources using archive */
|
||||
|
||||
zip_hash_t *names; /* hash table for name lookup */
|
||||
|
||||
|
||||
char *tempdir; /* custom temp dir (needed e.g. for OS X sandboxing) */
|
||||
};
|
||||
|
||||
|
@ -432,7 +432,7 @@ struct zip_string {
|
|||
struct zip_buffer {
|
||||
bool ok;
|
||||
bool free_data;
|
||||
|
||||
|
||||
zip_uint8_t *data;
|
||||
zip_uint64_t size;
|
||||
zip_uint64_t offset;
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
3. The names of the authors may not be used to endorse or promote
|
||||
products derived from this software without specific prior
|
||||
written permission.
|
||||
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
|
||||
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue