Compare commits
No commits in common. "cf80ff7b6b5d8edbc0d5ccb23634cd3bc8419938" and "e12120fade8b4b07b63f2bab3a9873a5b4e8013b" have entirely different histories.
cf80ff7b6b
...
e12120fade
@ -26,7 +26,6 @@ struct fpga_cell *fpga_fdef_loader_load(char *filename)
|
||||
if (!cell) {
|
||||
report(LL_CRITICAL,
|
||||
"Out of memory when creating cell.");
|
||||
/* TODO: clean up existing cells */
|
||||
return NULL;
|
||||
}
|
||||
break;
|
||||
@ -46,7 +45,6 @@ struct fpga_cell *fpga_fdef_loader_load(char *filename)
|
||||
if (!cell) {
|
||||
report(LL_CRITICAL,
|
||||
"Out of memory when creating cell.");
|
||||
/* TODO: clean up existing cells */
|
||||
return NULL;
|
||||
}
|
||||
break;
|
||||
|
@ -6,11 +6,11 @@
|
||||
static int current_log_level = 100;
|
||||
|
||||
static const char *ll_string[] = {
|
||||
"\x1B[31m\x1B[1m[X] ",
|
||||
"\x1B[31m[E] ",
|
||||
"\x1B[33m[W] ",
|
||||
"\x1B[32m[I] ",
|
||||
"\x1B[34m[D] ",
|
||||
"\x1B[32m[I] ",
|
||||
"\x1B[33m[W] ",
|
||||
"\x1B[31m[E] ",
|
||||
"\x1B[31m\x1B[1m[X] ",
|
||||
"[?] "
|
||||
};
|
||||
|
||||
|
@ -3,11 +3,11 @@
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
enum log_level {LL_CRITICAL = 0,
|
||||
LL_ERROR,
|
||||
LL_WARNING,
|
||||
enum log_level {LL_DEBUG = 0,
|
||||
LL_INFO,
|
||||
LL_DEBUG,
|
||||
LL_WARNING,
|
||||
LL_ERROR,
|
||||
LL_CRITICAL,
|
||||
LL_COUNT};
|
||||
enum log_level report(enum log_level log_level, const char *format, ...);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user