summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-08-21 09:50:01 +0000
committerRoy Marples <roy@marples.name>2007-08-21 09:50:01 +0000
commitf830c2aa70f1fc3692b077d44c2b024e526e8015 (patch)
treebe5512c7c2d802fc6beba03e9814b327bd693174 /common.h
parent6a3e853169003f63b99d5282488aba21a1ff8db6 (diff)
downloaddhcpcd-f830c2aa70f1fc3692b077d44c2b024e526e8015.tar.xz
Suck it hard and use gettimeofday for Linux. Lets just hope that the clock works under Linux during ARP floods.
Diffstat (limited to 'common.h')
-rw-r--r--common.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/common.h b/common.h
index b0a308df..79940997 100644
--- a/common.h
+++ b/common.h
@@ -35,11 +35,9 @@ size_t strlcpy (char *dst, const char *src, size_t size);
#ifdef __linux__
void srandomdev (void);
-#else
-#define HAVE_GET_TIME
-int get_time (struct timeval *tp);
#endif
+int get_time (struct timeval *tp);
long uptime (void);
void *xmalloc (size_t size);
char *xstrdup (const char *str);