summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-02-05 17:39:29 +0100
committerGeorge Peter Banyard <girgias@php.net>2020-02-05 17:39:29 +0100
commitc343c1bcae954112721075d2152802dedca3e2c4 (patch)
tree5810f27dd8f7646246684718eaca1d8bba1aaa2d /sapi
parent065224190dd897dd3ea2e6cbad7c684cc105132e (diff)
downloadphp-git-c343c1bcae954112721075d2152802dedca3e2c4.tar.gz
Fix some -Wold-style-declaration compiler warnings
Diffstat (limited to 'sapi')
-rw-r--r--sapi/phpdbg/phpdbg_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/phpdbg/phpdbg_utils.c b/sapi/phpdbg/phpdbg_utils.c
index 136d546288..1efad03a79 100644
--- a/sapi/phpdbg/phpdbg_utils.c
+++ b/sapi/phpdbg/phpdbg_utils.c
@@ -39,7 +39,7 @@
ZEND_EXTERN_MODULE_GLOBALS(phpdbg)
/* {{{ color structures */
-const static phpdbg_color_t colors[] = {
+static const phpdbg_color_t colors[] = {
PHPDBG_COLOR_D("none", "0;0"),
PHPDBG_COLOR_D("white", "0;64"),
@@ -70,7 +70,7 @@ const static phpdbg_color_t colors[] = {
}; /* }}} */
/* {{{ */
-const static phpdbg_element_t elements[] = {
+static const phpdbg_element_t elements[] = {
PHPDBG_ELEMENT_D("prompt", PHPDBG_COLOR_PROMPT),
PHPDBG_ELEMENT_D("error", PHPDBG_COLOR_ERROR),
PHPDBG_ELEMENT_D("notice", PHPDBG_COLOR_NOTICE),