projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mkfifoat: use new modules for Solaris and BSD bugs
[gnulib.git]
/
lib
/
inet_pton.c
diff --git
a/lib/inet_pton.c
b/lib/inet_pton.c
index
62ef145
..
a9c9baf
100644
(file)
--- a/
lib/inet_pton.c
+++ b/
lib/inet_pton.c
@@
-1,6
+1,6
@@
/* inet_pton.c -- convert IPv4 and IPv6 addresses from text to binary form
/* inet_pton.c -- convert IPv4 and IPv6 addresses from text to binary form
- Copyright (C) 2006, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2006, 2008
, 2009
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-41,10
+41,6
@@
#include <string.h>
#include <errno.h>
#include <string.h>
#include <errno.h>
-#ifndef EAFNOSUPPORT
-# define EAFNOSUPPORT EINVAL
-#endif
-
#define NS_INADDRSZ 4
#define NS_IN6ADDRSZ 16
#define NS_INT16SZ 2
#define NS_INADDRSZ 4
#define NS_IN6ADDRSZ 16
#define NS_INT16SZ 2