diff options
author | Damien Miller <djm@mindrot.org> | 1999-10-28 14:12:54 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-10-28 14:12:54 +1000 |
commit | e413cba972feb60d3d4d104c0c93320435610d1b (patch) | |
tree | d712398819471c56f89ea3fc7a4fa5fb8db38690 /helper.c | |
parent | 062307657e30c9b970514eb53b4b743f9d571231 (diff) |
Disabled code based on autoconf tests
Diffstat (limited to 'helper.c')
-rw-r--r-- | helper.c | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -45,18 +45,15 @@ #include "rc4.h" #include "xmalloc.h" - +#include "config.h" #include "helper.h" +#ifndef HAVE_ARC4RANDOM + void get_random_bytes(unsigned char *buf, int len); static rc4_t *rc4 = NULL; -void setproctitle(const char *fmt, ...) -{ - /* FIXME */ -} - unsigned int arc4random(void) { unsigned int r; @@ -105,4 +102,11 @@ void get_random_bytes(unsigned char *buf, int len) exit(1); } } +#endif /* !HAVE_ARC4RANDOM */ +#ifndef HAVE_SETPROCTITLE +void setproctitle(const char *fmt, ...) +{ + /* FIXME */ +} +#endif /* !HAVE_SETPROCTITLE */ |