diff options
author | Narcisa Ana Maria Vasile <narcisaanamaria12@gmail.com> | 2017-03-10 00:53:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-12 15:27:45 +0100 |
commit | eaeab71f27c485e8940782304158f41c3fff7139 (patch) | |
tree | 5cfa1ff0a7e9ba15ca85f6a01661085229bf91a9 /drivers/ata/ata_generic.c | |
parent | 37c002299c14f4d2cd49c42fc5cc2f8c77207ae2 (diff) |
staging: speakup: i18n.c: Change return type from int to bool
The possible return values (0 or 1) for compare_specifiers
and fmt_validate represent whether a condition holds or not, so
conceptually, they are booleans.
Update documentation for these two functions.
Change type of variable 'still_comparing' from int to bool too,
inside fmt_validate, because it is intended to hold truth values
as well.
Signed-off-by: Narcisa Ana Maria Vasile <narcisaanamaria12@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ata/ata_generic.c')
0 files changed, 0 insertions, 0 deletions