mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 18:56:10 +08:00
Move the DNS server from apps/netutils/dnsclient to nuttx/libc/netdb. Move netdb functions from libc/net to libc/netdb. Fix up naming to reflect the repartitioning
This commit is contained in:
+2
-2
@@ -263,7 +263,7 @@ EXTERN int h_errno;
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_LIB_NETDB
|
||||
#ifdef CONFIG_LIBC_NETDB
|
||||
#if 0 /* None of these are yet supported */
|
||||
|
||||
void endhostent(void);
|
||||
@@ -311,7 +311,7 @@ int gethostbyaddr_r(FAR const void *addr, socklen_t len, int type,
|
||||
int gethostbyname_r(FAR const char *name, FAR struct hostent *host,
|
||||
FAR char *buf, size_t buflen, int *h_errnop);
|
||||
|
||||
#endif /* CONFIG_LIB_NETDB */
|
||||
#endif /* CONFIG_LIBC_NETDB */
|
||||
|
||||
#undef EXTERN
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user