utils_random.{c,h}: fix build warning
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 11 Dec 2016 15:15:01 +0000 (16:15 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 11 Dec 2016 15:15:01 +0000 (16:15 +0100)
commit7d8948f9d931d8acb3da197c5317a9f382657cd7
tree195123a837e59282fb41cfdc755fe32e48190261
parentb5b9a852bb358e55036cd560aac8870e6a436bac
utils_random.{c,h}: fix build warning

utils_random.c:53:8: warning: no previous prototype for function 'cdrand_d' [-Wmissing-prototypes]
double cdrand_d() {
       ^
./utils_random.h:32:8: note: this declaration is not a prototype; add 'void' to make it a prototype for a zero-parameter function
double cdrand_d();
       ^
                void
utils_random.c:64:10: warning: no previous prototype for function 'cdrand_u' [-Wmissing-prototypes]
uint32_t cdrand_u() {
         ^
./utils_random.h:40:10: note: this declaration is not a prototype; add 'void' to make it a prototype for a zero-parameter function
uint32_t cdrand_u();
         ^
                  void
2 warnings generated.
src/daemon/utils_random.c
src/daemon/utils_random.h