mirror of
https://github.com/0intro/wmii
synced 2024-11-21 21:31:33 +03:00
[libstuff] Fix nsec().
This commit is contained in:
parent
6639d9d02f
commit
abefbf048d
@ -8,6 +8,6 @@ nsec(void) {
|
||||
struct timeval tv;
|
||||
|
||||
gettimeofday(&tv, nil);
|
||||
return (uvlong)tv.tv_sec * 1000000000 + (uvlong)tv.tv_sec * 1000;
|
||||
return (uvlong)tv.tv_sec * 1000000000 + (uvlong)tv.tv_usec * 1000;
|
||||
}
|
||||
|
||||
|
@ -9,8 +9,8 @@ SOLDFLAGS += $(LIBX11)
|
||||
TARG = libwmii_hack
|
||||
# Can't just link libstuff here. We need PIC objects.
|
||||
OBJ = hack \
|
||||
../libstuff/util/getbase \
|
||||
../libstuff/util/getlong \
|
||||
../libstuff/util/getbase \
|
||||
../libstuff/util/getlong \
|
||||
../libstuff/util/tokenize
|
||||
|
||||
include $(ROOT)/mk/so.mk
|
||||
|
Loading…
Reference in New Issue
Block a user