From a8c8ac860fcc5ff1af94f42432cdc9636a8de779 Mon Sep 17 00:00:00 2001 From: Nathan Wagner Date: Tue, 23 Sep 2014 04:41:54 +0000 Subject: [PATCH] add leading prototype for pd_uuid_rng_get_bytes gcc was giving a warning for a missing prototype. A prototype isn't actually needed since there's one in pduuid.h and the function is only used after it is defined in rng.c, but providing one will suppress a warning without having to change the compile flags. --- rng.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rng.c b/rng.c index 5a51559..72960c9 100644 --- a/rng.c +++ b/rng.c @@ -108,6 +108,8 @@ static unsigned long rng_win32(unsigned char *buf, unsigned long len) { #endif +unsigned long pd_uuid_rng_get_bytes(unsigned char *out, unsigned long outlen); + unsigned long pd_uuid_rng_get_bytes(unsigned char *out, unsigned long outlen) { unsigned long x; -- 2.40.0