mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
clean up
This commit is contained in:
12
rand/rand.v
12
rand/rand.v
@@ -4,23 +4,13 @@
|
||||
|
||||
module rand
|
||||
|
||||
//#include <time.h>
|
||||
|
||||
|
||||
struct LOLLO {
|
||||
}
|
||||
|
||||
fn kek() {
|
||||
}
|
||||
#include <time.h>
|
||||
|
||||
pub fn seed() {
|
||||
# time_t t;
|
||||
# srand((unsigned) time(&t));
|
||||
}
|
||||
|
||||
fn ffkek() {
|
||||
}
|
||||
|
||||
pub fn next(max int) int {
|
||||
r := 0
|
||||
# r = rand(); // TODO parser bug `rand` module name conflict
|
||||
|
||||
Reference in New Issue
Block a user