summaryrefslogtreecommitdiff
path: root/src/odhcp6c.h
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-03-28 17:58:44 +0100
committerSteven Barth <steven@midlink.org>2015-03-30 13:58:07 +0200
commitec864c44e9959a5d65cc564182f4e960e47c6e9e (patch)
treeeea22d612485c3ed20ad376cbc19915b93cc6df0 /src/odhcp6c.h
parent0812d31deabe32918fd5b9498f0a8b2c2962d70b (diff)
downloadodhcp6c-ec864c44e9959a5d65cc564182f4e960e47c6e9e.tar.gz
properly handle return codes
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'src/odhcp6c.h')
-rw-r--r--src/odhcp6c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odhcp6c.h b/src/odhcp6c.h
index 1fda72a..3e2713e 100644
--- a/src/odhcp6c.h
+++ b/src/odhcp6c.h
@@ -325,7 +325,7 @@ void script_call(const char *status);
bool odhcp6c_signal_process(void);
uint64_t odhcp6c_get_milli_time(void);
-void odhcp6c_random(void *buf, size_t len);
+int odhcp6c_random(void *buf, size_t len);
bool odhcp6c_is_bound(void);
// State manipulation