This commit is contained in:
Cristy
2019-12-24 11:29:38 -05:00
parent 539367f16c
commit 8b5aca13cb
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -607,7 +607,8 @@ static StringInfo *GenerateEntropicChaos(RandomInfo *random_info)
% o random_info: the random info.
%
*/
MagickExport double GetPseudoRandomValue(RandomInfo *random_info)
MagickExport double GetPseudoRandomValue(
RandomInfo *magick_restrict random_info)
{
#define RandomROTL(x,k) (((x) << (k)) | ((x) >> (64-(k))))
+1 -1
View File
@@ -35,7 +35,7 @@ typedef struct _RandomInfo
*/
extern MagickExport double
GetRandomValue(RandomInfo *),
GetPseudoRandomValue(RandomInfo *);
GetPseudoRandomValue(RandomInfo *magick_restrict);
extern MagickExport RandomInfo
*AcquireRandomInfo(void),