diff options
Diffstat (limited to 'c11/ex02/ft_any.c')
| -rw-r--r-- | c11/ex02/ft_any.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/c11/ex02/ft_any.c b/c11/ex02/ft_any.c index 100fd12..ee09b41 100644 --- a/c11/ex02/ft_any.c +++ b/c11/ex02/ft_any.c @@ -6,11 +6,13 @@ /* By: cacharle <charles.cabergs@gmail.com> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/07/16 21:23:26 by cacharle #+# #+# */ -/* Updated: 2019/07/16 21:32:21 by cacharle ### ########.fr */ +/* Updated: 2019/07/18 11:03:40 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ -int ft_any(char **tab, int(*f)(char*)) +#include <stdlib.h> + +int ft_any(char **tab, int (*f)(char*)) { while (*tab != NULL) if ((*f)(*tab++)) |
