Skip to content

Commit

Permalink
cevil: Fix includes
Browse files Browse the repository at this point in the history
Some includes where on `test_cevil.c` instead of `cevil.h`. To fix
that move the includes to `cevil.h`.
  • Loading branch information
Grillo-0 committed Aug 30, 2023
1 parent 43f73fe commit 05d2196
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions cevil.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ void cevil_print_error(struct cevil_error *err);

#ifdef CEVIL_IMPLEMENTATION

#include <assert.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>

Expand Down
2 changes: 0 additions & 2 deletions test_cevil.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#include <assert.h>
#include <stdio.h>
#include <stdbool.h>

#define CEVIL_IMPLEMENTATION
#include "cevil.h"
Expand Down

0 comments on commit 05d2196

Please sign in to comment.