From 8b5aca13cbfd54a035ffaefa9e33557efe112f66 Mon Sep 17 00:00:00 2001 From: Cristy Date: Tue, 24 Dec 2019 11:29:38 -0500 Subject: [PATCH] ... --- MagickCore/random.c | 3 ++- MagickCore/random_.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/MagickCore/random.c b/MagickCore/random.c index 7940702e66..47b03255e8 100644 --- a/MagickCore/random.c +++ b/MagickCore/random.c @@ -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)))) diff --git a/MagickCore/random_.h b/MagickCore/random_.h index 53dfdd1bdb..d72ff6a7f3 100644 --- a/MagickCore/random_.h +++ b/MagickCore/random_.h @@ -35,7 +35,7 @@ typedef struct _RandomInfo */ extern MagickExport double GetRandomValue(RandomInfo *), - GetPseudoRandomValue(RandomInfo *); + GetPseudoRandomValue(RandomInfo *magick_restrict); extern MagickExport RandomInfo *AcquireRandomInfo(void),