mirror of https://github.com/mirror/busybox.git
libbb: fix "error: redefinition of 'is_tty_secure'"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>1_27_stable
parent
107159ef1c
commit
44c0ab4102
|
@ -6,6 +6,7 @@
|
|||
*/
|
||||
#include "libbb.h"
|
||||
|
||||
#if ENABLE_FEATURE_SECURETTY && !ENABLE_PAM
|
||||
int FAST_FUNC is_tty_secure(const char *short_tty)
|
||||
{
|
||||
char *buf = (char*)"/etc/securetty"; /* any non-NULL is ok */
|
||||
|
@ -22,3 +23,4 @@ int FAST_FUNC is_tty_secure(const char *short_tty)
|
|||
*/
|
||||
return buf != NULL;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue