summaryrefslogtreecommitdiffstats
path: root/ttcp
diff options
context:
space:
mode:
authorJennifer Averett <jennifer.averett@oarcorp.com>2021-05-21 10:25:16 -0500
committerJoel Sherrill <joel@rtems.org>2021-05-21 12:43:44 -0500
commitbfcd290c10c237fa9913ee1afc85b6796c0ad9b4 (patch)
tree306988a8f2a63b6e819091d435878e2587ff34e1 /ttcp
parentRemove ChangeLog files (diff)
downloadnetwork-demos-bfcd290c10c237fa9913ee1afc85b6796c0ad9b4.tar.bz2
Required changes to get back to a buildable state.
This primarily reflects changes since the legacy network stack was split into its own repository.
Diffstat (limited to 'ttcp')
-rw-r--r--ttcp/Makefile2
-rw-r--r--ttcp/rtems_ttcp.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/ttcp/Makefile b/ttcp/Makefile
index 1866d1e..449beee 100644
--- a/ttcp/Makefile
+++ b/ttcp/Makefile
@@ -36,7 +36,7 @@ CFLAGS_OPTIMIZE_V +=
CFLAGS_DEBUG_V += -v -qrtems_debug
LD_PATHS +=
-LD_LIBS +=
+LD_LIBS += -lnetworking
#
# Add your list of files to delete here. The config files
diff --git a/ttcp/rtems_ttcp.c b/ttcp/rtems_ttcp.c
index 3889151..75b10ff 100644
--- a/ttcp/rtems_ttcp.c
+++ b/ttcp/rtems_ttcp.c
@@ -37,13 +37,14 @@
* Glue between UNIX-style ttcp code and RTEMS
*/
int rtems_ttcp_main (int argc, char **argv);
-
+#if 0
static int
select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout)
{
rtems_panic ("select()");
return 0;
}
+#endif
#define _SYS_RESOURCE_H_
#define RUSAGE_SELF 0 /* calling process */