mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
The functions use the C99 _Bool type in form of the alias bool from stdbool.h as return type. Scalars are implicitly converted to _Bool. Values equal to zero to 0 (false). Nonzero values to 1 (true). Therefore the explicit conversion using the ternary operator ?: with true and false is not required. Signed-off-by: Jens Remus <jremus@linux.ibm.com> Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>