summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-09-03 23:35:18 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-09-03 23:35:18 +0000
commit65f8e15b78891b15b1caabe45d1163f63fa530e0 (patch)
treecbca93cb25a0ae75f1f4ebce49d94e9ec6060ac8 /nuttx/include
parentc96d656001914b495f54e7a25d54079e41af86ce (diff)
downloadpx4-nuttx-65f8e15b78891b15b1caabe45d1163f63fa530e0.tar.gz
px4-nuttx-65f8e15b78891b15b1caabe45d1163f63fa530e0.tar.bz2
px4-nuttx-65f8e15b78891b15b1caabe45d1163f63fa530e0.zip
cleanup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@329 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/net/uip/resolv.h4
-rw-r--r--nuttx/include/net/uip/uip.h9
2 files changed, 3 insertions, 10 deletions
diff --git a/nuttx/include/net/uip/resolv.h b/nuttx/include/net/uip/resolv.h
index 9ab900978..1f22012b5 100644
--- a/nuttx/include/net/uip/resolv.h
+++ b/nuttx/include/net/uip/resolv.h
@@ -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
diff --git a/nuttx/include/net/uip/uip.h b/nuttx/include/net/uip/uip.h
index b03233ed3..0aceb8603 100644
--- a/nuttx/include/net/uip/uip.h
+++ b/nuttx/include/net/uip/uip.h
@@ -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
*/