summaryrefslogtreecommitdiffstats
path: root/include/netdb.h
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-12-13 13:32:56 +0000
committered <ed@FreeBSD.org>2011-12-13 13:32:56 +0000
commit0bcfe62162c6317108fed5c0aabb5ce3d4a9a2aa (patch)
treeff467d16b69860d02d290f3c005240ea4a39828c /include/netdb.h
parentb87df3a8d39d015de9da414c9d47a28b51a5e163 (diff)
downloadFreeBSD-src-0bcfe62162c6317108fed5c0aabb5ce3d4a9a2aa.zip
FreeBSD-src-0bcfe62162c6317108fed5c0aabb5ce3d4a9a2aa.tar.gz
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.
Diffstat (limited to 'include/netdb.h')
-rw-r--r--include/netdb.h2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud