Skip to content

Commit 6c6d21b

Browse files
committed
Task 100 of singly linked list
1 parent 1ff1045 commit 6c6d21b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

0x12-singly_linked_lists/100-first.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#include <stdio.h>
22

3-
void first(void) __attribute__ ((constructor));
3+
void tortoise(void) __attribute__ ((constructor));
44

55
/**
6-
* first - function that prints
6+
* tortoise - function that prints
77
* Return: nothing
88
*/
9-
void first(void)
9+
void tortoise(void)
1010
{
1111
printf("You're best! and yet, you must allow,\n");
1212
printf("I bore my house upon my back!\n");

0x12-singly_linked_lists/100-main.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88
int main(void)
99
{
10-
printf("A tortoise, having pretty good sense of a hare's nature,\n");
11-
printf("challenges one to a race.\n");
12-
return (0);
10+
printf("(A tortoise, having pretty good sense of a hare's nature, challenges one to a race.)\n");
11+
return (0);
1312
}
13+

0x12-singly_linked_lists/first

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)