mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
cleanup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@329 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -51,11 +51,11 @@ EXTERN int resolv_init(void);
|
||||
#ifdef CONFIG_NET_IPv6
|
||||
EXTERN void resolv_conf(const struct sockaddr_in6 *dnsserver);
|
||||
EXTERN void resolv_getserver(const struct sockaddr_in6 *dnsserver);
|
||||
EXTERN int resolv_query(char *name, struct sockaddr_in6 *addr);
|
||||
EXTERN int resolv_query(const char *name, struct sockaddr_in6 *addr);
|
||||
#else
|
||||
EXTERN void resolv_conf(const struct sockaddr_in *dnsserver);
|
||||
EXTERN void resolv_getserver(const struct sockaddr_in *dnsserver);
|
||||
EXTERN int resolv_query(char *name, struct sockaddr_in *addr);
|
||||
EXTERN int resolv_query(const char *name, struct sockaddr_in *addr);
|
||||
#endif
|
||||
|
||||
#undef EXTERN
|
||||
|
||||
@@ -608,14 +608,7 @@ void uip_setipid(uint16 id);
|
||||
* functions for opening and closing connections, sending and receiving
|
||||
* data, etc.
|
||||
*
|
||||
* The following function must be provided by the application logic. It
|
||||
* is called from the UIP interrupt handler when interesting events are
|
||||
* detected that may be of interest to the application.
|
||||
*/
|
||||
|
||||
extern void uip_interrupt_event(void);
|
||||
|
||||
/* Find a free connection structure and allocate it for use. This is
|
||||
* Find a free connection structure and allocate it for use. This is
|
||||
* normally something done by the implementation of the socket() API
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user