use stdbool for true/false

This commit is contained in:
2025-09-18 01:59:04 +02:00
parent 557a4affa6
commit 6a8bb3f5d4
2 changed files with 1 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
#include "todo.h" #include "todo.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdbool.h>
#include <string.h> #include <string.h>
// Memory management // Memory management

View File

@@ -2,8 +2,6 @@
#define TODO_H #define TODO_H
#define TODO_MAX_TITLE_LENGTH 255 #define TODO_MAX_TITLE_LENGTH 255
#define true 1
#define false 0
typedef unsigned char bool_t; typedef unsigned char bool_t;
typedef struct { typedef struct {