From: Ben Pfaff Date: Fri, 13 Aug 2010 16:58:29 +0000 (-0700) Subject: uuid: Fix warnings carelessly introduced a few commits ago. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9cdd3d3a7139dc618ea603010bf6c73d2b4e21e;p=openvswitch uuid: Fix warnings carelessly introduced a few commits ago. Commit e251c8 "uuid: Break code to read /dev/urandom into a new module" carelessly introduced a few warnings, which this commit fixes up. --- diff --git a/lib/uuid.c b/lib/uuid.c index a1100f2f..2aac4c72 100644 --- a/lib/uuid.c +++ b/lib/uuid.c @@ -22,6 +22,7 @@ #include #include #include +#include #include "aes128.h" #include "entropy.h" @@ -33,7 +34,6 @@ static uint64_t counter[2]; BUILD_ASSERT_DECL(sizeof counter == 16); static void do_init(void); -static void read_urandom(void *buffer, size_t n); /* * Initialize the UUID module. Aborts the program with an error message if