diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2005-10-25 11:17:35 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2005-10-25 11:17:35 +0000 |
commit | d3d2afdfacfa31a4936d8a764c3b6aa5f5a770bf (patch) | |
tree | d4c3776a9068a1c384565af7929b6003ac1a9d9b /cpukit/sapi | |
parent | 2005-10-24 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-d3d2afdfacfa31a4936d8a764c3b6aa5f5a770bf.tar.bz2 |
2005-10-25 Joel Sherrill <joel@OARcorp.com>
* sapi/include/confdefs.h, telnetd/pty.c, telnetd/pty.h: Attempt
to fix MAX_PTYS and provide a real configuration entry. This should
make telnetd some suitable for inclusion in cpukit.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r-- | cpukit/sapi/include/confdefs.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index 4d6fea1e89..d7dbc2ba1d 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -104,6 +104,20 @@ uint32_t rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS; #endif /* + * PTYs + */ + +#ifndef CONFIGURE_MAXIMUM_PTYS +#define CONFIGURE_MAXIMUM_PTYS 0 +#endif + +#ifdef CONFIGURE_INIT +int rtems_telnetd_maximum_ptys = CONFIGURE_MAXIMUM_PTYS; +#else +extern int rtems_telnetd_maximum_ptys; +#endif + +/* * Mount Table Configuration */ |