From e0712d2df70c8d4bacdee3b892de5d34ac6c569a Mon Sep 17 00:00:00 2001 From: jekwupeter <31484984+jekwupeter@users.noreply.github.com> Date: Mon, 20 Jun 2022 08:17:34 +0100 Subject: [PATCH] Added underscore to custom getline --- monty.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monty.h b/monty.h index 41de8fd..1626858 100644 --- a/monty.h +++ b/monty.h @@ -34,7 +34,7 @@ typedef struct instruction_s void (*f)(stack_t **stack, unsigned int line_number); } instruction_t; -size_t getline(char **lineptr, size_t *n, FILE *stream); +size_t _getline(char **lineptr, size_t *n, FILE *stream); void pall(stack_t **stack_ptr, unsigned int count __attribute__((unused))); size_t print_dlistint(const stack_t *stack_ptr); int delete_dnodeint(stack_t **stack_ptr, unsigned int count);