remove bug.h include in any .h file

This commit is contained in:
2024-06-20 09:13:28 +02:00
parent 879bda850c
commit 0c15be28b1
3 changed files with 4 additions and 5 deletions

View File

@@ -17,8 +17,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <bug.h>
#include "chessdefs.h"
#undef safe_malloc
@@ -29,6 +27,7 @@
#pragma push_macro("BUG_ON")
#undef BUG_ON
#define BUG_ON
#include <bug.h>
#define safe_malloc(size) ({ \
void *_ret = malloc(size); \