Change includes to include the bonus header file.
Change 42headers to reflect the names of the files.
/* ************************************************************************** */
/* */
/* ::: :::::::: */
-/* get_next_line.c :+: :+: :+: */
+/* get_next_line_bonus.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ljiriste <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/08/28 00:01:15 by ljiriste #+# #+# */
-/* Updated: 2023/10/27 10:24:16 by ljiriste ### ########.fr */
+/* Updated: 2023/10/27 12:21:02 by ljiriste ### ########.fr */
/* */
/* ************************************************************************** */
#include <stdlib.h>
#include <unistd.h>
-#include "get_next_line.h"
+#include "get_next_line_bonus.h"
// How to free?
// static in get_next_line? So it could be passed to select AND delete
/* ************************************************************************** */
/* */
/* ::: :::::::: */
-/* get_next_line.h :+: :+: :+: */
+/* get_next_line_bonus.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ljiriste <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/08/28 11:24:52 by ljiriste #+# #+# */
-/* Updated: 2023/10/11 18:16:37 by ljiriste ### ########.fr */
+/* Updated: 2023/10/27 12:21:04 by ljiriste ### ########.fr */
/* */
/* ************************************************************************** */
-#ifndef GET_NEXT_LINE_H
-# define GET_NEXT_LINE_H
+#ifndef GET_NEXT_LINE_BONUS_H
+# define GET_NEXT_LINE_BONUS_H
# ifndef BUFFER_SIZE
# define BUFFER_SIZE 80
/* ************************************************************************** */
/* */
/* ::: :::::::: */
-/* get_next_line_utils.c :+: :+: :+: */
+/* get_next_line_utils_bonus.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ljiriste <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/09/11 13:36:53 by ljiriste #+# #+# */
-/* Updated: 2023/10/11 15:42:18 by ljiriste ### ########.fr */
+/* Updated: 2023/10/27 12:21:02 by ljiriste ### ########.fr */
/* */
/* ************************************************************************** */
*/
#include <stdlib.h> // malloc etc.
-#include "get_next_line.h"
+#include "get_next_line_bonus.h"
//This function may be useful enough to add to Libft
/* Functions like ft_strncat but reallocates dest to