From b5f8e37699b20234f9a29cc748e1ffdbca80f240 Mon Sep 17 00:00:00 2001 From: Manzovince Date: Mon, 22 Apr 2019 15:14:20 +0200 Subject: [PATCH] Auto stash before merge of "master" and "origin/master" --- add_to_list.c | 11 +++++++++-- test_big_map.c | 9 ++------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/add_to_list.c b/add_to_list.c index 51c38dc..3630c81 100644 --- a/add_to_list.c +++ b/add_to_list.c @@ -6,7 +6,7 @@ /* By: hulamy +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/04/14 15:20:53 by hulamy #+# #+# */ -/* Updated: 2019/04/21 13:42:46 by hulamy ### ########.fr */ +/* Updated: 2019/04/22 15:12:47 by vmanzoni ### ########.fr */ /* */ /* ************************************************************************** */ @@ -80,6 +80,10 @@ int add_to_list(char *line, t_fillist **list) return (1); } +/* +** Print octet +*/ + void print_test(int octet) { unsigned int i; @@ -92,6 +96,10 @@ void print_test(int octet) } } +/* +** ??? +*/ + void test(unsigned int map[]) { int i; @@ -142,4 +150,3 @@ int main(int ac, char **av) return (0); } - diff --git a/test_big_map.c b/test_big_map.c index 05831ac..64a0982 100644 --- a/test_big_map.c +++ b/test_big_map.c @@ -83,13 +83,8 @@ int main() unsigned int map[10] = {1568713153, 817645681, 654186132, 538171355, 1718453135, 551286515, 1631843343, 3413834313, 1155555555, 999999999}; int i; - i = -1; - while (++i < 10) - { - print_bits(map[i]); - printf(" "); - } - printf("\n"); + //while (i < 10) + // printf("%d\n", map[i++]); test(map); return (0); }