com php-src: Make this inline like the many other variants we got of this function (win32/time.c, Zend/zend_virtual_cwd.c, . ..): win32/getrusage.c
| From: | Kalle Sommer Nielsen | Date: | Wed, 17 Aug 2016 21:52:44 +0000 |
| Subject: | com php-src: Make this inline like the many other variants we got of this function (win32/time.c, Zend/zend_virtual_cwd.c, . ..): win32/getrusage.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-93922@lists.php.net to get a copy of this message | ||
Commit: fea6d5d18f702895282a6e9e5f151f66482816ff
Author: Kalle Sommer Nielsen <kalle@php.net> Wed, 17 Aug 2016 23:52:44 +0200
Parents: 2eaf6ce5d8f89937a91cf7cc9c20847ec3e66601
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fea6d5d18f702895282a6e9e5f151f66482816ff
Log:
Make this inline like the many other variants we got of this function (win32/time.c,
Zend/zend_virtual_cwd.c, ...)
Changed paths:
M win32/getrusage.c
Diff:
diff --git a/win32/getrusage.c b/win32/getrusage.c
index d719bcd..3267ac6 100644
--- a/win32/getrusage.c
+++ b/win32/getrusage.c
@@ -26,7 +26,7 @@
* and have been modified to work with PHP.
*/
-static void usage_to_timeval(FILETIME *ft, struct timeval *tv)
+static zend_always_inline void usage_to_timeval(FILETIME *ft, struct timeval *tv)
{
ULARGE_INTEGER time;