all: move headers to include folder

Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
This commit is contained in:
Mahyar Koshkouei
2023-07-08 11:49:04 +01:00
parent 983002a696
commit a09e44a462
11 changed files with 0 additions and 0 deletions

13
include/all.h Normal file
View File

@@ -0,0 +1,13 @@
#include <errno.h>
#include <stdio.h>
/* Adds extra debugging text */
//#define DEBUG
/* Prints more error information */
#define err_print(err) \
do { fprintf(stderr, "\nError %d:%s(): %s %s\n", __LINE__, __func__, \
err, strerror(errno)); } while (0)
#define delete(ptr) \
free((void*) ptr); ptr = NULL