[patch 2/3] speakup: Reference synth from tty and tty from synth

2020-12-10 Thread samuel . thibault
We do not actually need speakup_tty and spk_ttyio_synth global variables, the synth can store the pointer to the tty, and the tty ldisc_data can store the pointer to the synth. Along the way, we can clench the initialization of the synth and the creation of the tty, so that tty is never NULL.

[patch 2/3] speakup: Reference synth from tty and tty from synth

2020-12-09 Thread samuel . thibault
We do not actually need speakup_tty and spk_ttyio_synth global variables, the synth can store the pointer to the tty, and the tty ldisc_data can store the pointer to the synth. Along the way, we can clench the initialization of the synth and the creation of the tty, so that tty is never NULL.

[patch 2/3] speakup: Reference synth from tty and tty from synth

2020-11-30 Thread Samuel Thibault
We do not actually need speakup_tty and spk_ttyio_synth global variables, the synth can store the pointer to the tty, and the tty ldisc_data can store the pointer to the synth. Along the way, we can clench the initialization of the synth and the creation of the tty, so that tty is never NULL.