rand: remove duplicate C fn
parent
8c0b25a2ab
commit
a9a8f8c804
|
@ -6,8 +6,6 @@ module rand
|
||||||
|
|
||||||
fn C.rand() int
|
fn C.rand() int
|
||||||
|
|
||||||
fn C.srand(u32)
|
|
||||||
|
|
||||||
pub fn seed(s int) {
|
pub fn seed(s int) {
|
||||||
C.srand(s)
|
C.srand(s)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue