X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=misc.c;h=51760b5aaf4d8fd82968d32a37efa70b92daba1b;hb=d23111dabab46a8bcdf7e453ec099e4521d1cad6;hp=feebb4adcbdc48b16f06a359739dfc175bc47dfb;hpb=fb8ba08986cf770976805b6d527deda755ae301b;p=open-adventure.git diff --git a/misc.c b/misc.c index feebb4a..51760b5 100644 --- 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) {