mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
rand: remove duplicate C fn
This commit is contained in:
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
Block a user