Browse Source

Couple more missing prototypes

Caleb James DeLisle 3 years ago
parent
commit
dbb8f6b868
2 changed files with 2 additions and 1 deletions
  1. 1 0
      client/cjdroute2.c
  2. 1 1
      crypto/random/randombytes.c

+ 1 - 0
client/cjdroute2.c

@@ -596,6 +596,7 @@ static String* getPipePath(Dict* config, struct Allocator* alloc)
 }
 
 // This is invoked from cjdroute.rs
+int cjdroute2_main(int argc, char** argv);
 int cjdroute2_main(int argc, char** argv)
 {
     #ifdef Log_KEYS

+ 1 - 1
crypto/random/randombytes.c

@@ -18,7 +18,7 @@
 
 #include <unistd.h>
 
-int randombytes_main();
+int randombytes_main(void);
 int randombytes_main()
 {
     struct Allocator* alloc = MallocAllocator_new(1<<20);