Fixing standard library dependencies

This commit is contained in:
Leonardo committed 2019-03-22 19:48:43 -03:00
1 parent a92ea132b6
commit bdcee9bd05
5 files changed
+26 -1

No files matched your search

+4
View File
@@ -15,6 +15,10 @@
#ifndef CMC_DEQUE_H
#define CMC_DEQUE_H
#include <stdlib.h>
#include <stdbool.h>
#include <stdint.h>
/* PRIVATE *******************************************************************/
#define DEQUE_GENERATE_HEADER_PRIVATE(PFX, SNAME, FMOD, K, T) \
DEQUE_GENERATE_HEADER(PFX, SNAME, FMOD, K, T)
+10 -1
View File
@@ -1,5 +1,5 @@
/**
* @file stack.h
* @file for_each.h
*
* Last Update: 22/03/2019
*
@@ -8,6 +8,13 @@
*
*/
#ifndef CMC_FOR_EACH
#define CMC_FOR_EACH
#include <stdlib.h>
#include <stdbool.h>
#include <stdint.h>
#define FOR_EACH(PFX, SNAME, K, T, TARGET, BODY) \
do \
{ \
@@ -34,3 +41,5 @@
BODY; \
} \
} while (0);
#endif /* CMC_FOR_EACH */
+4
View File
@@ -15,6 +15,10 @@
#ifndef CMC_LIST_H
#define CMC_LIST_H
#include <stdlib.h>
#include <stdbool.h>
#include <stdint.h>
/* PRIVATE *******************************************************************/
#define LIST_GENERATE_HEADER_PRIVATE(PFX, SNAME, FMOD, K, T) \
LIST_GENERATE_HEADER(PFX, SNAME, FMOD, K, T)
+4
View File
@@ -15,6 +15,10 @@
#ifndef CMC_QUEUE_H
#define CMC_QUEUE_H
#include <stdlib.h>
#include <stdbool.h>
#include <stdint.h>
/* PRIVATE *******************************************************************/
#define QUEUE_GENERATE_HEADER_PRIVATE(PFX, SNAME, FMOD, K, T) \
QUEUE_GENERATE_HEADER(PFX, SNAME, FMOD, K, T)
+4
View File
@@ -15,6 +15,10 @@
#ifndef CMC_STACK_H
#define CMC_STACK_H
#include <stdlib.h>
#include <stdbool.h>
#include <stdint.h>
/* PRIVATE *******************************************************************/
#define STACK_GENERATE_HEADER_PRIVATE(PFX, SNAME, FMOD, K, T) \
STACK_GENERATE_HEADER(PFX, SNAME, FMOD, K, T)