summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-23 18:46:35 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-23 18:46:35 +0200
commit81fabeff2dc51c043da19cd095175c4951f527b6 (patch)
tree1e313219616fc4c09dc888fe6e3c60982877e767 /source3/include
parentd70efa57ceae1011a6a55d57d0152fd1bc2bb192 (diff)
downloadsamba-81fabeff2dc51c043da19cd095175c4951f527b6.tar.gz
samba-81fabeff2dc51c043da19cd095175c4951f527b6.tar.bz2
samba-81fabeff2dc51c043da19cd095175c4951f527b6.zip
Use libutil genrand.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 966ddb9f63..37f934abc7 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -575,7 +575,7 @@ void gencache_unlock_entry( const char *key );
/* The following definitions come from lib/genrand.c */
-void set_rand_reseed_callback(void (*fn)(int *));
+void set_rand_reseed_callback(void (*fn)(void *, int *), void *userdata);
void set_need_random_reseed(void);
void generate_random_buffer(uint8_t *out, int len);
char *generate_random_str(TALLOC_CTX *mem_ctx, size_t len);