summaryrefslogtreecommitdiff
path: root/err.h
diff options
context:
space:
mode:
authorAndre Noll <maan@tuebingen.mpg.de>2024-10-23 18:45:30 +0200
committerAndre Noll <maan@tuebingen.mpg.de>2025-03-23 19:13:50 +0100
commit07b73ad8272084b706d18ee2286bf25711dbaabb (patch)
treec79ef9a311120433f4ebe72dbbaa492bab449c19 /err.h
parent5770e00c6e59528762be20610af6d8bd24d6872f (diff)
Switch back to variadic log macros.HEADpumaster
This essentially reverts commit 66cdd5bc99a5 which aimed to make the dss log facility C89 conform. While this was a worthwhile goal in 2012, it has little value today, since in 2025 we can safely assume a C99 compliant compiler. The patch was created with git revert -Xours 66cdd5bc followed by manual tweaks to make it compile again.
Diffstat (limited to 'err.h')
-rw-r--r--err.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/err.h b/err.h
index f567671..7e93c9d 100644
--- a/err.h
+++ b/err.h
@@ -3,8 +3,7 @@
extern char *dss_errlist[];
extern char *dss_error_txt;
-void dss_log_set_params(int ll, const char *file, int line, const char *func);
-__printf_1_2 void dss_log(const char* fmt,...);
+__printf_2_3 void dss_log(int ll, const char* fmt,...);
/*
* This bit indicates whether a number is considered a system error number