diff --git a/compat/getentropy_osx.c b/compat/getentropy_osx.c index f1bce33a1..45e7754ae 100644 --- a/compat/getentropy_osx.c +++ b/compat/getentropy_osx.c @@ -71,7 +71,7 @@ #define HD(x) (SHA512_Update(&ctx, (char *)&(x), sizeof (x))) int getentropy(void *buf, size_t len); -extern int main(int, char *argv[]); +/*extern int main(int, char *argv[]);*/ static int gotdata(char *buf, size_t len); static int getentropy_urandom(void *buf, size_t len); static int getentropy_fallback(void *buf, size_t len); @@ -289,7 +289,7 @@ getentropy_fallback(void *buf, size_t len) HX(sigprocmask(SIG_BLOCK, NULL, &sigset) == -1, sigset); - HD(main); /* an addr in program */ + /*HD(main);*/ /* an addr in program */ HD(getentropy); /* an addr in this library */ HD(printf); /* an addr in libc */ p = (char *)&p;