diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-06-21 18:00:35 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-06-21 18:00:35 +0000 |
commit | 6a19a291bfbfc759971b57720ef75caaf941f680 (patch) | |
tree | 47f13d36533dafc7dad3b2d3324a43f74eb30839 /ttcp/rtems_ttcp.c | |
parent | bb264e091c76ea1216bcf96c4f3414144eb8d769 (diff) |
2007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems_ttcp.c, ttcp_orig/ttcp.c: Now compiles reasonably cleanly with
CVS head.
Diffstat (limited to 'ttcp/rtems_ttcp.c')
-rw-r--r-- | ttcp/rtems_ttcp.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/ttcp/rtems_ttcp.c b/ttcp/rtems_ttcp.c index 9fbd774..0a4d81b 100644 --- a/ttcp/rtems_ttcp.c +++ b/ttcp/rtems_ttcp.c @@ -31,6 +31,8 @@ #include <netinet/in.h> #include <netdb.h> #include <sys/time.h> +#include <stdlib.h> +#include <signal.h> /* * Glue between UNIX-style ttcp code and RTEMS @@ -40,13 +42,8 @@ int rtems_ttcp_main (int argc, char **argv); static int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) { - rtems_panic ("select()"); -} - -static void -(*signal(int sig, void (*func)()))() -{ - return 0;; + rtems_panic ("select()"); + return 0; } #define _SYS_RESOURCE_H_ |