From c3f34d06befa352acb343ad08337123d9474535f Mon Sep 17 00:00:00 2001 From: practicalswift Date: Wed, 2 May 2018 17:14:48 +0200 Subject: Make it clear which functions that are intended to be translation unit local Do not share functions that are meant to be translation unit local with other translation units. Use internal linkage for those consistently. --- src/random.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/random.cpp') diff --git a/src/random.cpp b/src/random.cpp index b004dcac3..4ba86e4e7 100644 --- a/src/random.cpp +++ b/src/random.cpp @@ -178,7 +178,7 @@ static void RandAddSeedPerfmon() /** Fallback: get 32 bytes of system entropy from /dev/urandom. The most * compatible way to get cryptographic randomness on UNIX-ish platforms. */ -void GetDevURandom(unsigned char *ent32) +static void GetDevURandom(unsigned char *ent32) { int f = open("/dev/urandom", O_RDONLY); if (f == -1) { -- cgit v1.2.3