mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-05 03:05:49 +08:00
config: Fix telnetd configuration warning.
This commit is contained in:
parent
ac0e5bfc2e
commit
95100121dc
@ -131,10 +131,11 @@ extern "C" {
|
||||
* Telnetd
|
||||
*/
|
||||
#if defined(RTEMS_BSD_CONFIG_SERVICE_TELNETD)
|
||||
#if defined(RTEMS_BSD_CONFIG_TELNETD_STACK_SIZE)
|
||||
#define RTEMS_BSD_CFGDECL_TELNETD_STACK_SIZE \
|
||||
int rtems_telnetd_stack_size = RTEMS_BSD_CONFIG_TELNETD_STACK_SIZE
|
||||
#if !defined(RTEMS_BSD_CONFIG_TELNETD_STACK_SIZE)
|
||||
#define RTEMS_BSD_CONFIG_TELNETD_STACK_SIZE (8 * 1024)
|
||||
#endif /* RTEMS_BSD_CONFIG_TELNETD_STACK_SIZE */
|
||||
#define RTEMS_BSD_CFGDECL_TELNETD_STACK_SIZE \
|
||||
int rtems_telnetd_stack_size = RTEMS_BSD_CONFIG_TELNETD_STACK_SIZE
|
||||
#define RTEMS_BSD_CFGDECL_TELNETD RTEMS_BSD_RC_CONF_SYSINT(rc_conf_telnetd)
|
||||
#else
|
||||
#define RTEMS_BSD_CFGDECL_TELNETD_STACK_SIZE
|
||||
|
Loading…
x
Reference in New Issue
Block a user