]> git.ipfire.org Git - thirdparty/glibc.git/commit
locale: Turn ADDC and ADDS into functions in linereader.c
authorFlorian Weimer <fweimer@redhat.com>
Tue, 5 Jul 2022 07:05:22 +0000 (09:05 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 5 Jul 2022 07:06:15 +0000 (09:06 +0200)
commit5dcbff5879a7d25e0dd511f4a71c039aa015e6a4
tree41c0a22482bce4f469134dfbc8b14d169c6c4b78
parent62595e89447c09fe4e34cd9fc1d4cf1b7f3ecb33
locale: Turn ADDC and ADDS into functions in linereader.c

And introduce struct lr_buffer.  The functions addc and adds can
be called from functions, enabling subsequent refactoring.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
locale/programs/linereader.c