summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc/termiosreserveresources.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-05-17 18:33:07 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-05-17 18:33:07 +0000
commit166475ad3db4bed5e8ee5b5c97816df365c10da1 (patch)
treebb19c6a2118e1de81ad774418c2002ae951a981b /c/src/lib/libc/termiosreserveresources.c
parent2002-05-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-166475ad3db4bed5e8ee5b5c97816df365c10da1.tar.bz2
2002-05-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove lib.
Diffstat (limited to 'c/src/lib/libc/termiosreserveresources.c')
-rw-r--r--c/src/lib/libc/termiosreserveresources.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/c/src/lib/libc/termiosreserveresources.c b/c/src/lib/libc/termiosreserveresources.c
deleted file mode 100644
index 86bacc3d53..0000000000
--- a/c/src/lib/libc/termiosreserveresources.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Reserve enough resources to open every physical device once.
- *
- * $Id$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems.h>
-
-#if 0
-static int first_time; /* assumed to be zeroed by BSS initialization */
-#endif
-
-void rtems_termios_reserve_resources (
- rtems_configuration_table *configuration,
- rtems_unsigned32 number_of_devices
-)
-{
-#if 0
- rtems_api_configuration_table *rtems_config;
-
-
- if (!configuration)
- rtems_fatal_error_occurred (0xFFF0F001);
- rtems_config = configuration->RTEMS_api_configuration;
- if (!rtems_config)
- rtems_fatal_error_occurred (0xFFF0F002);
- if (!first_time)
- rtems_config->maximum_semaphores += 1;
- first_time = 1;
- rtems_config->maximum_semaphores += (4 * number_of_devices);
-#endif
-}
-