diff --git a/0x11-singly_linked_lists/100-first.c b/0x11-singly_linked_lists/100-first.c new file mode 100644 index 0000000..bcaacae --- /dev/null +++ b/0x11-singly_linked_lists/100-first.c @@ -0,0 +1,11 @@ +#include +/** + * first - prints before main executes. + * Return: none. + */ +void first(void) __attribute__ ((constructor)); +void first(void) +{ + printf("You're beat! and yet, you must allow,\n" + "I bore my house upon my back!\n"); +} diff --git a/0x11-singly_linked_lists/100-main.c b/0x11-singly_linked_lists/100-main.c new file mode 100644 index 0000000..df13dd6 --- /dev/null +++ b/0x11-singly_linked_lists/100-main.c @@ -0,0 +1,12 @@ +#include + +/** + * main - check the code for Holberton School students. + * + * Return: Always 0. + */ +int main(void) +{ + printf("(A tortoise, having pretty good sense of a hare's nature, challenges one to a race.)\n"); + return (0); +} diff --git a/0x11-singly_linked_lists/first b/0x11-singly_linked_lists/first new file mode 100755 index 0000000..8252c23 Binary files /dev/null and b/0x11-singly_linked_lists/first differ