summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2025-04-21 21:51:54 -0500
committer@syxhe <https://t.me/syxhe>2025-04-21 21:51:54 -0500
commitc704a8a382c231e066a7fbf0402a33455c40b8f5 (patch)
tree0c4000906060013de91ea7fc1888cedcbc34159e /src/main.c
parent521e9a2fc8e0ef1dffe4e590d0d4f65292f0d1df (diff)
Rework dlinkedlist functions to use VALLOC macro instead of only xalloc
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/main.c b/src/main.c
index 3779206..2fcf8ab 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,5 +1,3 @@
1#define _GNU_SOURCE
2
3#include "arena.h" 1#include "arena.h"
4#include "ll.h" 2#include "ll.h"
5#include "encryption.h" 3#include "encryption.h"
@@ -9,18 +7,7 @@
9 7
10#include <errno.h> 8#include <errno.h>
11#include <error.h> 9#include <error.h>
12#include <stdio.h>
13
14#include <string.h>
15#include <stdlib.h>
16 10
17
18#include <dirent.h>
19int lol(const struct dirent *node) {return 1;}
20int printnames(void *data) {
21 printf("%s\n", (data) ? ((struct dirent *)data)->d_name : "null");
22 return 0;
23}
24int main() { 11int main() {
25 error(1, ENOTSUP, "No main file lol"); 12 error(1, ENOTSUP, "No main file lol");
26 return 0; 13 return 0;