1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 17:27:35 +00:00

Ports: Update ed's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-17 21:09:44 +04:30 committed by Ali Mohammad Pur
parent 25dc066af6
commit f5a4d529c2
9 changed files with 133 additions and 51 deletions

View file

@ -0,0 +1,26 @@
From a61996a48d800229a267d9fef1548b08450997ab Mon Sep 17 00:00:00 2001
From: Brian Callahan <ibara@users.noreply.github.com>
Date: Sat, 1 Feb 2020 14:54:04 -0500
Subject: [PATCH 2/4] Use stdbool instead of rolling a manual Bool
---
ed.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/ed.h b/ed.h
index db0b4a6..ef0c134 100644
--- a/ed.h
+++ b/ed.h
@@ -18,8 +18,7 @@
*/
#ifndef __cplusplus
-enum Bool { false = 0, true = 1 };
-typedef enum Bool bool;
+#include <stdbool.h>
#endif
enum Pflags /* print suffixes */
--
2.36.1