X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Frandom.c;h=45d428c6b15d2cd9f9528d92c8720acb622b94ea;hb=3f0cbe2df696701ad07f61add08692a1eca54f67;hp=911ebf30442ac72824b5ba6e689c1285c1ae9074;hpb=ddc4f8e27f231b35df0c73a16bacc17396fb00f3;p=sliver-openvswitch.git diff --git a/lib/random.c b/lib/random.c index 911ebf304..45d428c6b 100644 --- a/lib/random.c +++ b/lib/random.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010, 2011, 2012 Nicira Networks. + * Copyright (c) 2008, 2009, 2010, 2011, 2012 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,7 +17,6 @@ #include #include "random.h" -#include #include #include #include @@ -59,7 +58,7 @@ random_init(void) void random_set_seed(uint32_t seed_) { - assert(seed_); + ovs_assert(seed_); seed = seed_; }