diff options
| author | deraadt <> | 2000-08-22 19:04:42 +0000 | 
|---|---|---|
| committer | deraadt <> | 2000-08-22 19:04:42 +0000 | 
| commit | 5a4c87da3ac47eee8dfc7d3063cd82adc978f804 (patch) | |
| tree | 53c09db1b4dbe906dbdb6e462b22a072a36a5bad /src/lib/libc/net/if_nameindex.c | |
| parent | 0b8661f0548bff2257dd1d248c5694aa4dd4ffcb (diff) | |
| download | openbsd-5a4c87da3ac47eee8dfc7d3063cd82adc978f804.tar.gz openbsd-5a4c87da3ac47eee8dfc7d3063cd82adc978f804.tar.bz2 openbsd-5a4c87da3ac47eee8dfc7d3063cd82adc978f804.zip | |
Wall
Diffstat (limited to 'src/lib/libc/net/if_nameindex.c')
| -rw-r--r-- | src/lib/libc/net/if_nameindex.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/lib/libc/net/if_nameindex.c b/src/lib/libc/net/if_nameindex.c index 8643397db2..9e4a71faa9 100644 --- a/src/lib/libc/net/if_nameindex.c +++ b/src/lib/libc/net/if_nameindex.c | |||
| @@ -38,6 +38,7 @@ | |||
| 38 | #include <net/if.h> | 38 | #include <net/if.h> | 
| 39 | #include <net/if_dl.h> | 39 | #include <net/if_dl.h> | 
| 40 | #include <errno.h> | 40 | #include <errno.h> | 
| 41 | #include <unistd.h> | ||
| 41 | #include <string.h> | 42 | #include <string.h> | 
| 42 | 43 | ||
| 43 | struct if_nameindex * | 44 | struct if_nameindex * | 
| @@ -48,7 +49,6 @@ if_nameindex(void) | |||
| 48 | struct ifconf ifconf; | 49 | struct ifconf ifconf; | 
| 49 | char lastname[IFNAMSIZ], *c, *inbuf; | 50 | char lastname[IFNAMSIZ], *c, *inbuf; | 
| 50 | struct if_nameindex *n; | 51 | struct if_nameindex *n; | 
| 51 | struct sockaddr_dl *sd; | ||
| 52 | struct sockaddr *sa; | 52 | struct sockaddr *sa; | 
| 53 | void *p; | 53 | void *p; | 
| 54 | 54 | ||
