diff options
| author | Roy Marples <roy@marples.name> | 2008-07-31 09:30:42 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-07-31 09:30:42 +0000 |
| commit | f4e3746739ca67ed02ca13f33a9e2181a4243253 (patch) | |
| tree | 55b859a0df8b68140cb18d7ded9ef2cb56bf65ed /net.c | |
| parent | 121c3dce00910839ba94e6cf1448bdfc1f68a5ee (diff) | |
| download | dhcpcd-f4e3746739ca67ed02ca13f33a9e2181a4243253.tar.xz | |
Prefer signal to poll so we avoid any possibilty of a timeval -> int/msecs overflow. We could of course loop msecs / INT_MAX times, but it then gets messy. It also saves around 200 bytes of binary size :)
Diffstat (limited to 'net.c')
| -rw-r--r-- | net.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -53,7 +53,6 @@ #include <ctype.h> #include <errno.h> -#include <poll.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> |
