summaryrefslogtreecommitdiffstats
path: root/libft/src/ft_isascii.c
diff options
context:
space:
mode:
Diffstat (limited to 'libft/src/ft_isascii.c')
-rw-r--r--libft/src/ft_isascii.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libft/src/ft_isascii.c b/libft/src/ft_isascii.c
index 8d2f3f2..04e63c3 100644
--- a/libft/src/ft_isascii.c
+++ b/libft/src/ft_isascii.c
@@ -10,10 +10,12 @@
/* */
/* ************************************************************************** */
-int
+#include <libft.h>
+
+t_bool
ft_isascii(int c)
{
if (c >= 0 && c <= 127)
- return (1);
- return (0);
+ return (TRUE);
+ return (FALSE);
}