#include <sys/ttydefaults.h>
#include <errno.h>
#include <sys/ioctl.h>
-#if defined(__GLIBC__)
-# include <crypt.h>
-#endif
#ifdef __linux__
# include <sys/statfs.h>
# include <sys/mount.h>
static
void tcfinal(struct console *con)
{
- int serial;
struct termios *tio = &con->tio;
int fd = con->fd;
/* Expected error */
- serial = errno = 0;
+ errno = 0;
if ((con->flags & CON_SERIAL) == 0) {
#ifdef __linux__