mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 14:57:35 +00:00

termcap has last been updated in 2002, and is relying on a lot of deprecated C99 behavior. All two current users are fine without it, so just remove it completely.
23 lines
687 B
Diff
23 lines
687 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Tim Schumacher <timschumi@gmx.de>
|
|
Date: Sun, 8 May 2022 22:53:34 +0200
|
|
Subject: [PATCH] Remove an include of `err.h`
|
|
|
|
`err.h` appears to be BSD-specific, and we don't support it. Luckily,
|
|
imgcat compiles just fine even when removing it.
|
|
---
|
|
src/imgcat.c | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/src/imgcat.c b/src/imgcat.c
|
|
index 26a73d7f359cc9ce30b2ba02a2b1f46617afada5..89fc05d19ae85786d115fee8eb16869e02b51513 100644
|
|
--- a/src/imgcat.c
|
|
+++ b/src/imgcat.c
|
|
@@ -22,7 +22,6 @@
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
-#include <err.h>
|
|
#include <limits.h>
|
|
|
|
#include <getopt.h>
|