Define SPECIFIERS macro and use it everyhere.

This commit is contained in:
gbaconni
2022-04-29 09:12:07 +02:00
parent 38021fb98f
commit 5734b6b29b
6 changed files with 16 additions and 14 deletions

View File

@@ -6,7 +6,7 @@
/* By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/04/26 10:13:59 by gbaconni #+# #+# */
/* Updated: 2022/04/26 13:24:34 by gbaconni ### ########.fr */
/* Updated: 2022/04/29 08:58:41 by gbaconni ### lausanne.ch */
/* */
/* ************************************************************************** */
@@ -16,7 +16,7 @@ int ft_eoflags(const char *s)
{
int ret;
int i;
const char *chars = "cspdiuxX%";
const char *chars = SPECIFIERS;
ret = 0;
if (s == NULL)