remove lf naming scheme
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "lfbinarytree.h"
|
||||
#include "binarytree.h"
|
||||
|
||||
void bintree_init(BinTree *tree, void (*destroy)(void *data)) {
|
||||
tree->size = 0;
|
@@ -9,7 +9,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
#include "lfinput.h"
|
||||
#include "input.h"
|
||||
|
||||
static FILE* open_file(const char *path, size_t *fsz) {
|
||||
FILE *fp = NULL;
|
@@ -1,7 +1,7 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "lflinkedlist.h"
|
||||
#include "linkedlist.h"
|
||||
|
||||
void ll_init(List *list, void (*destroy)(void *data)) {
|
||||
list->size = 0;
|
@@ -1,7 +1,7 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "lfmath.h"
|
||||
#include "math.h"
|
||||
|
||||
int max_int(int a, int b) {
|
||||
if (a > b) {
|
@@ -1,4 +1,4 @@
|
||||
#include "lfset.h"
|
||||
#include "set.h"
|
||||
|
||||
void set_init(Set *set, int (*match)(const void *a, const void *b),
|
||||
void (*destroy)(void *data)) {
|
@@ -1,4 +1,4 @@
|
||||
#include "lfstack.h"
|
||||
#include "stack.h"
|
||||
|
||||
void stack_init(Stack *stack, void (*destroy)(void *data)) {
|
||||
ll_init(stack, destroy);
|
Reference in New Issue
Block a user