From 2cb3512914d4d74407747ed159146d5b328d9c82 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 8 Jan 2009 15:12:29 -0800 Subject: [PATCH] Add missing function prototypes to header files. Found with -Wmissing-prototypes. --- lib/netdev.h | 1 + lib/random.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/netdev.h b/lib/netdev.h index d7afd83a..7fc96222 100644 --- a/lib/netdev.h +++ b/lib/netdev.h @@ -75,6 +75,7 @@ int netdev_recv(struct netdev *, struct ofpbuf *); void netdev_recv_wait(struct netdev *); int netdev_drain(struct netdev *); int netdev_send(struct netdev *, const struct ofpbuf *); +void netdev_send_wait(struct netdev *); int netdev_set_etheraddr(struct netdev *, const uint8_t mac[6]); const uint8_t *netdev_get_etheraddr(const struct netdev *); const char *netdev_get_name(const struct netdev *); diff --git a/lib/random.h b/lib/random.h index 80332308..eb29a228 100644 --- a/lib/random.h +++ b/lib/random.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2008 The Board of Trustees of The Leland Stanford +/* Copyright (c) 2008, 2009 The Board of Trustees of The Leland Stanford * Junior University * * We are making the OpenFlow specification and associated documentation @@ -37,6 +37,7 @@ #include #include +void random_init(void); void random_bytes(void *, size_t); uint8_t random_uint8(void); uint16_t random_uint16(void); -- 2.30.2