Refactor: macro constants -> config.h
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
|
||||
#include "util.h"
|
||||
#include "config.h"
|
||||
|
||||
#include <err.h> // err
|
||||
#include <errno.h> // errno
|
||||
@@ -8,8 +9,6 @@
|
||||
#include <stdio.h> // fprintf
|
||||
#include <stdlib.h> // malloc, realloc, calloc
|
||||
|
||||
#define ERROR_CONTEXT_LEN 80
|
||||
|
||||
void* malloc_or_die(size_t size)
|
||||
{
|
||||
void* result = malloc(size);
|
||||
|
||||
Reference in New Issue
Block a user