From e2ba7cd29617ae05087ad3d25c55a2eb8ce607a3 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Thu, 28 May 2026 23:56:29 -0300 Subject: fix issues and warnings when compiling with glibc < 2.32 (#57, #58) This also fixes some inconsistencies such as mixing both strerror and strerrordesc_np, and possible formatting issues. --- src/common.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common.hh') diff --git a/src/common.hh b/src/common.hh index 4206ed6..a45db1c 100644 --- a/src/common.hh +++ b/src/common.hh @@ -182,6 +182,8 @@ void error(const char *Text, ...) ATTR_PRINTF(1, 2); void print(int Level, const char *Text, ...) ATTR_PRINTF(2, 3); int random(int Min, int Max); bool FileExists(const char *FileName); +const char *GetSignalDescription(int SigNr); +const char *GetErrorDescription(int SigNr); bool isSpace(int c); bool isAlpha(int c); -- cgit v1.2.3