summaryrefslogtreecommitdiff
path: root/lib/inet_aton.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2013-01-10 11:23:19 +0100
committerJens Axboe <axboe@kernel.dk>2013-01-10 11:23:19 +0100
commit67bf982340d95ca98098ea050b54b4c7adb116c0 (patch)
tree00b8947272d1301426b199e8f98c6a5933969909 /lib/inet_aton.c
parent78c1111eacdb594e0488d5adc508091fc2a3af88 (diff)
downloadfio-67bf982340d95ca98098ea050b54b4c7adb116c0.tar.gz
Add configure script
Get rid of all the fragile guessing and checking of features, and roll a configure script instead. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/inet_aton.c')
-rw-r--r--lib/inet_aton.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/inet_aton.c b/lib/inet_aton.c
new file mode 100644
index 00000000..7ae7db74
--- /dev/null
+++ b/lib/inet_aton.c
@@ -0,0 +1,6 @@
+#include "inet_aton.h"
+
+int inet_aton(const char *cp, struct in_addr *inp)
+{
+ return inet_pton(AF_INET, cp, inp);
+}