1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Code tweaks: Remove unneeded semicolons

This commit is contained in:
Alex Dowad
2020-04-29 08:48:47 +02:00
committed by Christoph M. Becker
parent 90705d44e3
commit 8ddaf13ed3
8 changed files with 9 additions and 9 deletions

View File

@@ -49,7 +49,7 @@ ZEND_END_MODULE_GLOBALS(com_dotnet)
ZEND_TSRMLS_CACHE_EXTERN()
#endif
extern ZEND_DECLARE_MODULE_GLOBALS(com_dotnet);
ZEND_EXTERN_MODULE_GLOBALS(com_dotnet)
#define COMG(v) ZEND_MODULE_GLOBALS_ACCESSOR(com_dotnet, v)
#endif /* PHP_COM_DOTNET_H */

View File

@@ -195,7 +195,7 @@ zend_object *php_gd_image_object_create(zend_class_entry *class_type)
intern->std.handlers = &php_gd_image_object_handlers;
return &intern->std;
};
}
static void php_gd_image_object_free(zend_object *intern)
{
@@ -204,7 +204,7 @@ static void php_gd_image_object_free(zend_object *intern)
img_obj_ptr->image = NULL;
zend_object_std_dtor(intern);
};
}
/**
* Creates a new GdImage object wrapping the gdImagePtr and attaches it

View File

@@ -70,7 +70,7 @@
#define DEFAULT_PROMPT "\\b \\> "
ZEND_DECLARE_MODULE_GLOBALS(cli_readline);
ZEND_DECLARE_MODULE_GLOBALS(cli_readline)
static char php_last_char = '\0';
static FILE *pager_pipe = NULL;

View File

@@ -47,7 +47,7 @@ int le_deflate;
int le_inflate;
#define le_inflate_name "zlib inflate"
ZEND_DECLARE_MODULE_GLOBALS(zlib);
ZEND_DECLARE_MODULE_GLOBALS(zlib)
/* {{{ Memory management wrappers */

View File

@@ -31,7 +31,7 @@
#include "zend_stack.h"
#include "php_output.h"
PHPAPI ZEND_DECLARE_MODULE_GLOBALS(output);
PHPAPI ZEND_DECLARE_MODULE_GLOBALS(output)
const char php_output_default_handler_name[sizeof("default output handler")] = "default output handler";
const char php_output_devnull_handler_name[sizeof("null output handler")] = "null output handler";

View File

@@ -225,7 +225,7 @@ static void php_cli_server_buffer_append(php_cli_server_buffer *buffer, php_cli_
static void php_cli_server_logf(int type, const char *format, ...);
static void php_cli_server_log_response(php_cli_server_client *client, int status, const char *message);
ZEND_DECLARE_MODULE_GLOBALS(cli_server);
ZEND_DECLARE_MODULE_GLOBALS(cli_server)
/* {{{ static char php_cli_server_css[]
* copied from ext/standard/info.c

View File

@@ -56,7 +56,7 @@
ZEND_TSRMLS_CACHE_DEFINE()
#endif
ZEND_DECLARE_MODULE_GLOBALS(phpdbg);
ZEND_DECLARE_MODULE_GLOBALS(phpdbg)
int phpdbg_startup_run = 0;
static PHP_INI_MH(OnUpdateEol)

View File

@@ -18,7 +18,7 @@
#include "php_ini.h"
#include <errno.h>
ZEND_DECLARE_MODULE_GLOBALS(phpdbg_webhelper);
ZEND_DECLARE_MODULE_GLOBALS(phpdbg_webhelper)
PHP_INI_BEGIN()
STD_PHP_INI_ENTRY("phpdbg.auth", "", PHP_INI_SYSTEM | PHP_INI_PERDIR, OnUpdateString, auth, zend_phpdbg_webhelper_globals, phpdbg_webhelper_globals)