append lf to includes

This commit is contained in:
2023-11-29 13:40:41 -08:00
parent 57cf229904
commit bc8e01fd6f
19 changed files with 109 additions and 18 deletions

View File

@@ -2,7 +2,7 @@
#include <string.h>
#include <stdio.h>
#include "binarytree.h"
#include "lfbinarytree.h"
void bintree_init(BinTree *tree, void (*destroy)(void *data)) {
tree->size = 0;

View File

@@ -9,7 +9,7 @@
#endif
#include "input.h"
#include "lfinput.h"
static FILE* open_file(const char *path, size_t *fsz) {
FILE *fp = NULL;

View File

@@ -1,7 +1,7 @@
#include <string.h>
#include <stdlib.h>
#include "linkedlist.h"
#include "lflinkedlist.h"
void ll_init(List *list, void (*destroy)(void *data)) {
list->size = 0;

View File

@@ -1,7 +1,7 @@
#include <string.h>
#include <stdlib.h>
#include "math.h"
#include "lfmath.h"
int max_int(int a, int b) {
if (a > b) {

View File

@@ -1,4 +1,4 @@
#include "set.h"
#include "lfset.h"
void set_init(Set *set, int (*match)(const void *a, const void *b),
void (*destroy)(void *data)) {

View File

@@ -1,4 +1,4 @@
#include "stack.h"
#include "lfstack.h"
void stack_init(Stack *stack, void (*destroy)(void *data)) {
ll_init(stack, destroy);

View File

@@ -5,7 +5,7 @@
#include <bsd/stdlib.h>
#endif
#include "vector.h"
#include "lfvector.h"
#define VEC_INIT_CAP 2