summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-01 18:19:08 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-01 18:19:08 +0000
commitba9c45c214ea6949786eb55d4190533c820c394c (patch)
tree1f5d57b53c1cf2b027bfd98bbd5887482421238d
parentce342713d6ae95d4766c3d5e8a6a6f5e5c53de23 (diff)
Patch from Eric Norum <eric@skatter.usask.ca> to take advantage of new
routines in RTEMS.
-rw-r--r--ttcp/rtems_ttcp.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/ttcp/rtems_ttcp.c b/ttcp/rtems_ttcp.c
index b6345c7..9fbd774 100644
--- a/ttcp/rtems_ttcp.c
+++ b/ttcp/rtems_ttcp.c
@@ -49,17 +49,6 @@ static void
return 0;;
}
-int
-gettimeofday (struct timeval *tp, struct timezone *tzp)
-{
- rtems_clock_time_value now;
-
- rtems_clock_get (RTEMS_CLOCK_GET_TIME_VALUE, &now);
- tp->tv_sec = now.seconds;
- tp->tv_usec = now.microseconds;
- return 0;
-}
-
#define _SYS_RESOURCE_H_
#define RUSAGE_SELF 0 /* calling process */
#define RUSAGE_CHILDREN -1 /* terminated child processes */
@@ -229,7 +218,5 @@ test_network (void)
#define main rtems_ttcp_main
#define exit(code) close(fd),rtems_ttcp_exit(code)
-#define read_timer rtems_read_timer
-#undef delay
#include "ttcp_orig/ttcp.c"