refactor error message-related functions

split message print fuctions (mpr_*), strerrno, and mscp_get/set_error
into print.c/h and strerrno.c/h.

ToDo: revise usages of priv_set_errv and pr_* functions.
This commit is contained in:
Ryo Nakamura
2024-02-06 21:54:04 +09:00
parent 76892a69f9
commit 4f0669f8f8
18 changed files with 268 additions and 292 deletions

View File

@@ -6,8 +6,6 @@
#include <assert.h>
#include <pthread.h>
#include <message.h>
typedef int refcnt;
static inline void refcnt_inc(refcnt *cnt)