Skip to content

Commit 8ddaf13

Browse files
alexdowadcmb69
authored andcommitted
Code tweaks: Remove unneeded semicolons
1 parent 90705d4 commit 8ddaf13

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

ext/com_dotnet/php_com_dotnet.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ZEND_END_MODULE_GLOBALS(com_dotnet)
4949
ZEND_TSRMLS_CACHE_EXTERN()
5050
#endif
5151

52-
extern ZEND_DECLARE_MODULE_GLOBALS(com_dotnet);
52+
ZEND_EXTERN_MODULE_GLOBALS(com_dotnet)
5353
#define COMG(v) ZEND_MODULE_GLOBALS_ACCESSOR(com_dotnet, v)
5454

5555
#endif /* PHP_COM_DOTNET_H */

ext/gd/gd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ zend_object *php_gd_image_object_create(zend_class_entry *class_type)
195195
intern->std.handlers = &php_gd_image_object_handlers;
196196

197197
return &intern->std;
198-
};
198+
}
199199

200200
static void php_gd_image_object_free(zend_object *intern)
201201
{
@@ -204,7 +204,7 @@ static void php_gd_image_object_free(zend_object *intern)
204204
img_obj_ptr->image = NULL;
205205

206206
zend_object_std_dtor(intern);
207-
};
207+
}
208208

209209
/**
210210
* Creates a new GdImage object wrapping the gdImagePtr and attaches it

ext/readline/readline_cli.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171
#define DEFAULT_PROMPT "\\b \\> "
7272

73-
ZEND_DECLARE_MODULE_GLOBALS(cli_readline);
73+
ZEND_DECLARE_MODULE_GLOBALS(cli_readline)
7474

7575
static char php_last_char = '\0';
7676
static FILE *pager_pipe = NULL;

ext/zlib/zlib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ int le_deflate;
4747
int le_inflate;
4848
#define le_inflate_name "zlib inflate"
4949

50-
ZEND_DECLARE_MODULE_GLOBALS(zlib);
50+
ZEND_DECLARE_MODULE_GLOBALS(zlib)
5151

5252
/* {{{ Memory management wrappers */
5353

main/output.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include "zend_stack.h"
3232
#include "php_output.h"
3333

34-
PHPAPI ZEND_DECLARE_MODULE_GLOBALS(output);
34+
PHPAPI ZEND_DECLARE_MODULE_GLOBALS(output)
3535

3636
const char php_output_default_handler_name[sizeof("default output handler")] = "default output handler";
3737
const char php_output_devnull_handler_name[sizeof("null output handler")] = "null output handler";

sapi/cli/php_cli_server.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ static void php_cli_server_buffer_append(php_cli_server_buffer *buffer, php_cli_
225225
static void php_cli_server_logf(int type, const char *format, ...);
226226
static void php_cli_server_log_response(php_cli_server_client *client, int status, const char *message);
227227

228-
ZEND_DECLARE_MODULE_GLOBALS(cli_server);
228+
ZEND_DECLARE_MODULE_GLOBALS(cli_server)
229229

230230
/* {{{ static char php_cli_server_css[]
231231
* copied from ext/standard/info.c

sapi/phpdbg/phpdbg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
ZEND_TSRMLS_CACHE_DEFINE()
5757
#endif
5858

59-
ZEND_DECLARE_MODULE_GLOBALS(phpdbg);
59+
ZEND_DECLARE_MODULE_GLOBALS(phpdbg)
6060
int phpdbg_startup_run = 0;
6161

6262
static PHP_INI_MH(OnUpdateEol)

sapi/phpdbg/phpdbg_rinit_hook.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include "php_ini.h"
1919
#include <errno.h>
2020

21-
ZEND_DECLARE_MODULE_GLOBALS(phpdbg_webhelper);
21+
ZEND_DECLARE_MODULE_GLOBALS(phpdbg_webhelper)
2222

2323
PHP_INI_BEGIN()
2424
STD_PHP_INI_ENTRY("phpdbg.auth", "", PHP_INI_SYSTEM | PHP_INI_PERDIR, OnUpdateString, auth, zend_phpdbg_webhelper_globals, phpdbg_webhelper_globals)

0 commit comments

Comments
 (0)