diff options
Diffstat (limited to 'src/network/if_nametoindex.c')
-rw-r--r-- | src/network/if_nametoindex.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/network/if_nametoindex.c b/src/network/if_nametoindex.c index 331413c6..c441085c 100644 --- a/src/network/if_nametoindex.c +++ b/src/network/if_nametoindex.c @@ -16,3 +16,11 @@ unsigned if_nametoindex(const char *name) __syscall(SYS_close, fd); return r < 0 ? 0 : ifr.ifr_ifindex; } + + +#ifdef TEST +int +main(void) { + return 0; +} +#endif |