From: Ben Pfaff Date: Thu, 8 Jan 2009 23:12:29 +0000 (-0800) Subject: Add missing function prototypes to header files. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cb3512914d4d74407747ed159146d5b328d9c82;p=openvswitch Add missing function prototypes to header files. Found with -Wmissing-prototypes. --- 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);