com php-src: Fixed typo in proper place: Zend/zend_portabilit y.h
| From: | Dmitry Stogov | Date: | Wed, 19 Aug 2015 12:45:39 +0000 |
| Subject: | com php-src: Fixed typo in proper place: Zend/zend_portabilit y.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-88682@lists.php.net to get a copy of this message | ||
Commit: c97427ea8e7a0ca232d81ec74aac39c5ed07037d
Author: Dmitry Stogov <dmitry@zend.com> Wed, 19 Aug 2015 15:45:39 +0300
Parents: 3350faf7e46918b0a239acd812855316febc8bea
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c97427ea8e7a0ca232d81ec74aac39c5ed07037d
Log:
Fixed typo in proper place
Changed paths:
M Zend/zend_portability.h
Diff:
diff --git a/Zend/zend_portability.h b/Zend/zend_portability.h
index 45f866b..2736bf4 100644
--- a/Zend/zend_portability.h
+++ b/Zend/zend_portability.h
@@ -217,12 +217,12 @@ char *alloca();
# define ZEND_ATTRIBUTE_UNUSED __attribute__((unused))
# define ZEND_ATTRIBUTE_UNUSED_LABEL __attribute__((cold, unused));
# define ZEND_COLD __attribute__((cold))
-# define ZEND_HOT __attribute__((cold))
+# define ZEND_HOT __attribute__((hot))
#else
# define ZEND_ATTRIBUTE_UNUSED
# define ZEND_ATTRIBUTE_UNUSED_LABEL
-# define ZEND_COLD __attribute__((cold))
-# define ZEND_HOT __attribute__((hot));
+# define ZEND_COLD
+# define ZEND_HOT
#endif
#if defined(__GNUC__) && ZEND_GCC_VERSION >= 3004 && defined(__i386__)