Re: [ovs-dev] [PATCH 7/9] windefs: srandom() and random() for windows.

2014-03-17 Thread Ben Pfaff
On Mon, Mar 17, 2014 at 01:51:44PM -0700, Gurucharan Shetty wrote: > On Mon, Mar 17, 2014 at 1:37 PM, Ben Pfaff wrote: > > On Fri, Mar 14, 2014 at 08:18:44AM -0700, Gurucharan Shetty wrote: > >> Windows does not have a srandom() and random(). But it does > >> have a srand() and rand(). We use thes

Re: [ovs-dev] [PATCH 7/9] windefs: srandom() and random() for windows.

2014-03-17 Thread Gurucharan Shetty
On Mon, Mar 17, 2014 at 1:37 PM, Ben Pfaff wrote: > On Fri, Mar 14, 2014 at 08:18:44AM -0700, Gurucharan Shetty wrote: >> Windows does not have a srandom() and random(). But it does >> have a srand() and rand(). We use these functions in sflow code. >> >> Signed-off-by: Gurucharan Shetty > > How

Re: [ovs-dev] [PATCH 7/9] windefs: srandom() and random() for windows.

2014-03-17 Thread Ben Pfaff
On Fri, Mar 14, 2014 at 08:18:44AM -0700, Gurucharan Shetty wrote: > Windows does not have a srandom() and random(). But it does > have a srand() and rand(). We use these functions in sflow code. > > Signed-off-by: Gurucharan Shetty How do these functions get called? As far as I can tell, they

[ovs-dev] [PATCH 7/9] windefs: srandom() and random() for windows.

2014-03-14 Thread Gurucharan Shetty
Windows does not have a srandom() and random(). But it does have a srand() and rand(). We use these functions in sflow code. Signed-off-by: Gurucharan Shetty --- include/windows/windefs.h |3 +++ 1 file changed, 3 insertions(+) diff --git a/include/windows/windefs.h b/include/windows/windef