refactor: make check_args function static
BREAKING CHANGE: function my_function is no longer exported
This commit is contained in:
parent
57a5156fcd
commit
df67357056
1 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
|
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2023/11/14 17:27:44 by rparodi #+# #+# */
|
/* Created: 2023/11/14 17:27:44 by rparodi #+# #+# */
|
||||||
/* Updated: 2025/09/04 11:46:29 by rparodi ### ########.fr */
|
/* Updated: 2025/09/04 11:56:27 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -22,7 +22,7 @@ void _print_base(\
|
||||||
void _print_unsigned(int fd, unsigned int nb, int *ret);
|
void _print_unsigned(int fd, unsigned int nb, int *ret);
|
||||||
void _print_str(int fd, char *str, int *ret);
|
void _print_str(int fd, char *str, int *ret);
|
||||||
|
|
||||||
int _check_args(int fd, char c, va_list args, int *ret)
|
static int _check_args(int fd, char c, va_list args, int *ret)
|
||||||
{
|
{
|
||||||
if (c == 'c')
|
if (c == 'c')
|
||||||
_print_char(fd, (char)va_arg(args, int), ret);
|
_print_char(fd, (char)va_arg(args, int), ret);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue