aboutsummaryrefslogtreecommitdiff
path: root/lib/uuid.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-08-13 09:58:29 -0700
committerBen Pfaff <blp@nicira.com>2010-08-13 09:58:29 -0700
commitc9cdd3d3a7139dc618ea603010bf6c73d2b4e21e (patch)
tree921ec4e947510fdbdbea9b4ab8ca0d9a2942ec31 /lib/uuid.c
parent5f8bfd69fd6173d525e6fe92902dd8c6628fc327 (diff)
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.
Diffstat (limited to 'lib/uuid.c')
-rw-r--r--lib/uuid.c2
1 files changed, 1 insertions, 1 deletions
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 <fcntl.h>
#include <sys/time.h>
#include <sys/types.h>
+#include <unistd.h>
#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