From f3703bf34939a40c95607df3b1cb2924e3e86079 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 12 Jul 2009 20:27:56 +0000 Subject: Add fdwatch.c and timers.c git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1981 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/netutils/thttpd/fdwatch.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nuttx/netutils/thttpd/fdwatch.h') diff --git a/nuttx/netutils/thttpd/fdwatch.h b/nuttx/netutils/thttpd/fdwatch.h index 76c8c02ae..cf6bd551e 100644 --- a/nuttx/netutils/thttpd/fdwatch.h +++ b/nuttx/netutils/thttpd/fdwatch.h @@ -47,11 +47,9 @@ # define INFTIM -1 #endif -/* Figure out how many file descriptors the system allows, and - * initialize the fdwatch data structures. Returns -1 on failure. - */ +/* initialize the fdwatch data structures. Returns -1 on failure. */ -extern int fdwatch_get_nfiles(void); +extern int fdwatch_initialize(void); /* Add a descriptor to the watch list. rw is either FDW_READ or FDW_WRITE. */ @@ -80,7 +78,9 @@ extern void *fdwatch_get_next_client_data(void); /* Generate debugging statistics syslog message. */ +#if defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_NET) extern void fdwatch_logstats(long secs); +#endif #endif /* __NETUTILS_THTTPD_FDWATCH_H */ -- cgit v1.2.3