diff options
| author | Roy Marples <roy@marples.name> | 2007-08-21 09:50:01 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2007-08-21 09:50:01 +0000 |
| commit | f830c2aa70f1fc3692b077d44c2b024e526e8015 (patch) | |
| tree | be5512c7c2d802fc6beba03e9814b327bd693174 /common.h | |
| parent | 6a3e853169003f63b99d5282488aba21a1ff8db6 (diff) | |
| download | dhcpcd-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.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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); |
