summaryrefslogtreecommitdiffstats
path: root/source/lib/system.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-10-02 15:41:30 +0000
committerAndrew Tridgell <tridge@samba.org>1996-10-02 15:41:30 +0000
commit45e66a69d320024877c8b13f12b21bf895e04410 (patch)
treebdf4244d8e22f17764b424dd378350c842c942de /source/lib/system.c
parent20b6203dac4bbb43e4e7bea0b214496d76d679d9 (diff)
downloadsamba-45e66a69d320024877c8b13f12b21bf895e04410.tar.gz
samba-45e66a69d320024877c8b13f12b21bf895e04410.tar.xz
samba-45e66a69d320024877c8b13f12b21bf895e04410.zip
backout all the changes to nmbd.
The 1.9.16 tree is now back to 1.9.16p2 as far as nmbd is concerned apart from a small change that fixes the announce type in two places.
Diffstat (limited to 'source/lib/system.c')
-rw-r--r--source/lib/system.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source/lib/system.c b/source/lib/system.c
index f6b916881bf..81e9a6679ad 100644
--- a/source/lib/system.c
+++ b/source/lib/system.c
@@ -116,15 +116,6 @@ int sys_unlink(char *fname)
/*******************************************************************
-random number generator
-********************************************************************/
-unsigned int sys_random(int max_range)
-{
- return(((unsigned int)random()) % max_range);
-}
-
-
-/*******************************************************************
a simple open() wrapper
********************************************************************/
int sys_open(char *fname,int flags,int mode)