From 0bcfe62162c6317108fed5c0aabb5ce3d4a9a2aa Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 13 Dec 2011 13:32:56 +0000 Subject: Replace __const by const in all non-contributed source code. As C1X is close to being released, there is no need to wrap around a feature that is already part of C90. Most of these files already use `const' in different placed as well. --- include/netdb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/netdb.h') diff --git a/include/netdb.h b/include/netdb.h index 2c2e4b3..9ed6e61 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -276,7 +276,7 @@ int getservbyport_r(int, const char *, struct servent *, char *, int getservent_r(struct servent *, char *, size_t, struct servent **); void herror(const char *); -__const char *hstrerror(int); +const char *hstrerror(int); int innetgr(const char *, const char *, const char *, const char *); void setnetgrent(const char *); #endif -- cgit v1.1