Make bonus part not depend on non-bonus part master
authorLukas Jiriste <ljiriste@student.42prague.com>
Fri, 27 Oct 2023 10:26:19 +0000 (12:26 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Fri, 27 Oct 2023 10:26:19 +0000 (12:26 +0200)
Change includes to include the bonus header file.
Change 42headers to reflect the names of the files.

get_next_line_bonus.c
get_next_line_bonus.h
get_next_line_utils_bonus.c

index cffebc3f1db782a83f8626c97fb1943dd4b19fa1..e1d2c7942d4915b23957b25a7b3ef0e38860c173 100644 (file)
@@ -1,18 +1,18 @@
 /* ************************************************************************** */
 /*                                                                            */
 /*                                                        :::      ::::::::   */
 /* ************************************************************************** */
 /*                                                                            */
 /*                                                        :::      ::::::::   */
-/*   get_next_line.c                                    :+:      :+:    :+:   */
+/*   get_next_line_bonus.c                              :+:      :+:    :+:   */
 /*                                                    +:+ +:+         +:+     */
 /*   By: ljiriste <marvin@42.fr>                    +#+  +:+       +#+        */
 /*                                                +#+#+#+#+#+   +#+           */
 /*   Created: 2023/08/28 00:01:15 by ljiriste          #+#    #+#             */
 /*                                                    +:+ +:+         +:+     */
 /*   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 <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
 
 // How to free?
 // static in get_next_line? So it could be passed to select AND delete
index 9f951daf3e879c7c85d3107970a8e02e75d6bf46..022d567cbd350098410d512afdfe3d6486b18ec0 100644 (file)
@@ -1,17 +1,17 @@
 /* ************************************************************************** */
 /*                                                                            */
 /*                                                        :::      ::::::::   */
 /* ************************************************************************** */
 /*                                                                            */
 /*                                                        :::      ::::::::   */
-/*   get_next_line.h                                    :+:      :+:    :+:   */
+/*   get_next_line_bonus.h                              :+:      :+:    :+:   */
 /*                                                    +:+ +:+         +:+     */
 /*   By: ljiriste <marvin@42.fr>                    +#+  +:+       +#+        */
 /*                                                +#+#+#+#+#+   +#+           */
 /*   Created: 2023/08/28 11:24:52 by ljiriste          #+#    #+#             */
 /*                                                    +:+ +:+         +:+     */
 /*   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
 
 # ifndef BUFFER_SIZE
 #  define BUFFER_SIZE 80
index fb4048a8cfeea65506c4790a1714d8fa93211fc9..f7b3343fade376691f7aa7241bb759b755f44818 100644 (file)
@@ -1,12 +1,12 @@
 /* ************************************************************************** */
 /*                                                                            */
 /*                                                        :::      ::::::::   */
 /* ************************************************************************** */
 /*                                                                            */
 /*                                                        :::      ::::::::   */
-/*   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          #+#    #+#             */
 /*                                                    +:+ +:+         +:+     */
 /*   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       */
 /*                                                                            */
 /* ************************************************************************** */
 
 /*                                                                            */
 /* ************************************************************************** */
 
@@ -15,7 +15,7 @@
 */
 
 #include <stdlib.h>    // malloc etc.
 */
 
 #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
 
 //This function may be useful enough to add to Libft
 /*     Functions like ft_strncat but reallocates dest to