From: Nathan Wagner Date: Tue, 23 Sep 2014 04:41:54 +0000 (+0000) Subject: add leading prototype for pd_uuid_rng_get_bytes X-Git-Url: https://pd.if.org/git/?p=uuid;a=commitdiff_plain;h=a8c8ac860fcc5ff1af94f42432cdc9636a8de779 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. --- 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;