diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-08-03 12:13:13 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-08-03 12:13:13 -0400 |
commit | fc0ecd35d8e0041c81bbe08c10c7fcb946da85e0 (patch) | |
tree | e17efdc95dad3d34a3d070f25b328397a4d038b9 /src/network/if_freenameindex.c | |
parent | 50304f2eefb4c79ceaf4605203f3825a35d831c0 (diff) | |
download | musl-fc0ecd35d8e0041c81bbe08c10c7fcb946da85e0.tar.gz musl-fc0ecd35d8e0041c81bbe08c10c7fcb946da85e0.tar.bz2 musl-fc0ecd35d8e0041c81bbe08c10c7fcb946da85e0.tar.xz musl-fc0ecd35d8e0041c81bbe08c10c7fcb946da85e0.zip |
implement if_nameindex and if_freenameindex
Diffstat (limited to 'src/network/if_freenameindex.c')
-rw-r--r-- | src/network/if_freenameindex.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/network/if_freenameindex.c b/src/network/if_freenameindex.c new file mode 100644 index 00000000..89bafcc0 --- /dev/null +++ b/src/network/if_freenameindex.c @@ -0,0 +1,7 @@ +#include <net/if.h> +#include <stdlib.h> + +void if_freenameindex(struct if_nameindex *idx) +{ + free(idx); +} |