com php-src: Fix a compiler warning in php_rand.h: ext/ standard/php_rand.h ext/standard/rand.c
| From: | Stanislav Malyshev | Date: | Thu, 27 Feb 2014 19:57:31 +0000 |
| Subject: | com php-src: Fix a compiler warning in php_rand.h: ext/ standard/php_rand.h ext/standard/rand.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-76958@lists.php.net to get a copy of this message | ||
Commit: 09f69ca02d70941bda9d52d7301462b735249f1e
Author: Rouven Weßling <me@rouvenwessling.de> Mon, 24 Feb 2014 14:45:42 +0100
Parents: afb0675e3b5efde717b482ec69e7fb7e601a6ad0
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=09f69ca02d70941bda9d52d7301462b735249f1e
Log:
Fix a compiler warning in php_rand.h
Changed paths:
M ext/standard/php_rand.h
M ext/standard/rand.c
Diff:
diff --git a/ext/standard/php_rand.h b/ext/standard/php_rand.h
index 2928d98..0e8abb3 100644
--- a/ext/standard/php_rand.h
+++ b/ext/standard/php_rand.h
@@ -27,6 +27,7 @@
#include <stdlib.h>
#include "basic_functions.h"
+#include "php_lcg.h"
/* System Rand functions */
#ifndef RAND_MAX
diff --git a/ext/standard/rand.c b/ext/standard/rand.c
index b0af30a..702fec2 100644
--- a/ext/standard/rand.c
+++ b/ext/standard/rand.c
@@ -30,7 +30,6 @@
#include "php.h"
#include "php_math.h"
#include "php_rand.h"
-#include "php_lcg.h"
#include "basic_functions.h"