projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace datime() with just time().
[open-adventure.git]
/
misc.c
diff --git
a/misc.c
b/misc.c
index feebb4adcbdc48b16f06a359739dfc175bc47dfb..51760b5aaf4d8fd82968d32a37efa70b92daba1b 100644
(file)
--- a/
misc.c
+++ b/
misc.c
@@
-680,14
+680,6
@@
void make_zzword(char zzword[6])
zzword[5] = '\0';
}
-void datime(long* d, long* t)
-{
- struct timeval tv;
- gettimeofday(&tv, NULL);
- *d = (long) tv.tv_sec;
- *t = (long) tv.tv_usec;
-}
-
// LCOV_EXCL_START
void bug(enum bugtype num, const char *error_string)
{