conf: move ringbuffer members to anonymous struct

parent 5777fe90
...@@ -174,18 +174,19 @@ struct lxc_console { ...@@ -174,18 +174,19 @@ struct lxc_console {
char name[MAXPATHLEN]; char name[MAXPATHLEN];
struct termios *tios; struct termios *tios;
struct lxc_tty_state *tty_state; struct lxc_tty_state *tty_state;
struct /* lxc_console_ringbuf */ {
/* size of the ringbuffer */
uint64_t buffer_size;
/* size of the ringbuffer */ /* path to the log file for the ringbuffer */
uint64_t buffer_size; char *buffer_log_file;
/* path to the log file for the ringbuffer */ /* fd to the log file for the ringbuffer */
char *buffer_log_file; int buffer_log_file_fd;
/* fd to the log file for the ringbuffer */ /* the in-memory ringbuffer */
int buffer_log_file_fd; struct lxc_ringbuf ringbuf;
};
/* the in-memory ringbuffer */
struct lxc_ringbuf ringbuf;
}; };
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment