- re-added ft_putchar/putnbr/putstr without fd
- added const for pointers in these functions
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
#include "libft.h"
|
||||
|
||||
static int check(char *base)
|
||||
static int check(const char *base)
|
||||
{
|
||||
int i;
|
||||
int j;
|
||||
@@ -36,7 +36,7 @@ static int check(char *base)
|
||||
return (0);
|
||||
}
|
||||
|
||||
void ft_putnbrbase(int nbr, char *base)
|
||||
void ft_putnbrbase(int nbr, const char *base)
|
||||
{
|
||||
int i;
|
||||
long n;
|
||||
|
||||
Reference in New Issue
Block a user