From a109ecaacf124097098f760b0877de2a46529a60 Mon Sep 17 00:00:00 2001 From: Jani Taskinen Date: Mon, 26 Nov 2007 10:59:18 +0000 Subject: [PATCH] MFH:- Fixed bug #43365 (Several enums have trailing commas) --- ext/pcre/php_pcre.c | 2 +- ext/pdo/php_pdo_driver.h | 2 +- ext/spl/spl_directory.h | 2 +- ext/spl/spl_iterators.h | 4 ++-- main/streams/php_stream_filter_api.h | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index e48a97e043..89bb1a34c3 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -48,7 +48,7 @@ enum { PHP_PCRE_INTERNAL_ERROR, PHP_PCRE_BACKTRACK_LIMIT_ERROR, PHP_PCRE_RECURSION_LIMIT_ERROR, - PHP_PCRE_BAD_UTF8_ERROR, + PHP_PCRE_BAD_UTF8_ERROR }; diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h index c3c98c4301..1f78277311 100755 --- a/ext/pdo/php_pdo_driver.h +++ b/ext/pdo/php_pdo_driver.h @@ -67,7 +67,7 @@ enum pdo_param_type { PDO_PARAM_STMT, /* hierarchical result set */ /* get_col ptr should point to a zend_bool */ - PDO_PARAM_BOOL, + PDO_PARAM_BOOL }; /* magic flag to denote a parameter as being input/output */ diff --git a/ext/spl/spl_directory.h b/ext/spl/spl_directory.h index 172c400ce1..0df3629e2a 100755 --- a/ext/spl/spl_directory.h +++ b/ext/spl/spl_directory.h @@ -35,7 +35,7 @@ PHP_MINIT_FUNCTION(spl_directory); typedef enum { SPL_FS_INFO, /* must be 0 */ SPL_FS_DIR, - SPL_FS_FILE, + SPL_FS_FILE } SPL_FS_OBJ_TYPE; typedef struct _spl_filesystem_object spl_filesystem_object; diff --git a/ext/spl/spl_iterators.h b/ext/spl/spl_iterators.h index c60edaaae5..e986df1cc6 100755 --- a/ext/spl/spl_iterators.h +++ b/ext/spl/spl_iterators.h @@ -94,7 +94,7 @@ enum { enum { /* public */ REGIT_USE_KEY = 0x00000001, - REGIT_INVERTED = 0x00000002, + REGIT_INVERTED = 0x00000002 }; typedef enum { @@ -103,7 +103,7 @@ typedef enum { REGIT_MODE_ALL_MATCHES, REGIT_MODE_SPLIT, REGIT_MODE_REPLACE, - REGIT_MODE_MAX, + REGIT_MODE_MAX } regex_mode; typedef struct _spl_dual_it_object { diff --git a/main/streams/php_stream_filter_api.h b/main/streams/php_stream_filter_api.h index 040a8f0222..51e54ddd98 100644 --- a/main/streams/php_stream_filter_api.h +++ b/main/streams/php_stream_filter_api.h @@ -62,7 +62,7 @@ struct _php_stream_bucket_brigade { typedef enum { PSFS_ERR_FATAL, /* error in data stream */ PSFS_FEED_ME, /* filter needs more data; stop processing chain until more is available */ - PSFS_PASS_ON, /* filter generated output buckets; pass them on to next in chain */ + PSFS_PASS_ON /* filter generated output buckets; pass them on to next in chain */ } php_stream_filter_status_t; /* Buckets API. */ -- 2.40.0