Replace the unsigned int bitfields do_tcsetattr and do_tcrestore
with bool, matching the project's direction of using boolean types.
Signed-off-by: Karel Zak <kzak@redhat.com>
#ifndef UTIL_LINUX_AGETTY_H
#define UTIL_LINUX_AGETTY_H
+#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>
#include <termios.h>
#ifdef AGETTY_RELOAD
char *mem_old;
#endif
- unsigned int do_tcsetattr : 1,
- do_tcrestore : 1;
+ bool do_tcsetattr;
+ bool do_tcrestore;
};
/* Storage for command-line options. */