diff options
| author | Bernard Xiong <[email protected]> | 2018-08-27 11:04:48 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-08-27 11:04:48 +0800 |
| commit | 9fdd46fa8be1c453455cb68e2563d426607e841f (patch) | |
| tree | 35dde3e0a332287e54b78902d0b4ef6957c30718 /components/net/sal_socket/socket | |
| parent | 6bde1c520d2d92fd8505ab85be80b7284efc985c (diff) | |
| parent | fc73538153ff2e1b775b0357b0f8df6010a70493 (diff) | |
Merge pull request #1737 from chenyong111/master
Add query and unregistered protocol family functions,format code
Diffstat (limited to 'components/net/sal_socket/socket')
| -rw-r--r-- | components/net/sal_socket/socket/net_netdb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/net/sal_socket/socket/net_netdb.c b/components/net/sal_socket/socket/net_netdb.c index 5acab36403..1f10afe337 100644 --- a/components/net/sal_socket/socket/net_netdb.c +++ b/components/net/sal_socket/socket/net_netdb.c @@ -38,6 +38,7 @@ int gethostbyname_r(const char *name, struct hostent *ret, char *buf, { return sal_gethostbyname_r(name, ret, buf, buflen, result, h_errnop); } +RTM_EXPORT(gethostbyname_r); void freeaddrinfo(struct addrinfo *ai) { |
