com php-src: Fix a compiler warning in php_rand.h: ext/ standard/php_rand.h ext/standard/rand.c

From: Date: Sun, 20 Apr 2014 23:35:36 +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-76959@lists.php.net to get a copy of this message
Commit: 68283c9f4ab4492327e4a0ad2d0bb8e847a57e3d Author: Rouven Weßling <me@rouvenwessling.de> Mon, 24 Feb 2014 14:45:42 +0100 Committer: Stanislav Malyshev <stas@php.net> Sun, 20 Apr 2014 16:35:36 -0700 Parents: 49341e992ad7f8eb7f94d4c946fb74f8e33e7e75 Branches: PHP-5.4 PHP-5.5 PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=68283c9f4ab4492327e4a0ad2d0bb8e847a57e3d 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"

« previous php.cvs (#76959) next »