Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion performance.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "src/gll.h"
#include "./src/gll.h"

static float start();
static void stop(float);
Expand Down
2 changes: 1 addition & 1 deletion src/gll.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include <stdio.h>
#include <stdlib.h>
#include "gll.h"
#include "./gll.h"

#define C_OK 0
#define C_NOK -1
Expand Down
5 changes: 5 additions & 0 deletions src/gll.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
/*
* Node Type: gll_node_t struct
*/

#ifndef GLL_H
#define GLL_H

typedef struct node_t {
void *data;
struct node_t *prev;
Expand Down Expand Up @@ -49,3 +53,4 @@ void gll_eachReverse(gll_t *, void (*f)(void *));
void gll_clear(gll_t *);
void gll_destroy(gll_t *);

#endif //GLL_H
2 changes: 1 addition & 1 deletion tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include "src/gll.h"
#include "./src/gll.h"

#define MAX_STR 32
#define C_OK 0
Expand Down