diff options
author | EuAndreh <eu@euandre.org> | 2022-11-08 17:13:36 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-11-08 17:13:36 -0300 |
commit | 76395ac2029c84faf2727746e3c970fd85eded2b (patch) | |
tree | 5bfbb61dd5b90bf36d9ad22d6e85ee14bfcec633 /src/logerr.c | |
parent | TODOs.md: Add #td-80513275-dbb4-adfd-b029-7403cd5fb7d3 (diff) | |
download | remembering-76395ac2029c84faf2727746e3c970fd85eded2b.tar.gz remembering-76395ac2029c84faf2727746e3c970fd85eded2b.tar.xz |
src/: Remove C files
Diffstat (limited to 'src/logerr.c')
-rw-r--r-- | src/logerr.c | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/src/logerr.c b/src/logerr.c deleted file mode 100644 index 029ed7f..0000000 --- a/src/logerr.c +++ /dev/null @@ -1,67 +0,0 @@ -#include "config.h" -#include "logerr.h" - -#include <stdio.h> - - -void -logerr_file( - const char *const s, - const char *const msg, - const char *const file, - const int lineno -) { - fprintf( - stderr, - "%s:%s:%d: %s: %s\n", - PROGNAME, - file, - lineno, - s, - msg - ); -} - -void -logerrs_file( - const char *const pre, - const char *const mid, - const char *const post, - const char *const msg, - const char *const file, - const int lineno -) { - fprintf( - stderr, - "%s:%s:%d: %s%s%s: %s\n", - PROGNAME, - file, - lineno, - pre, - mid, - post, - msg - ); -} - -void -logerrl_file( - const char *const pre, - const size_t mid, - const char *const post, - const char *const msg, - const char *const file, - int lineno -) { - fprintf( - stderr, - "%s:%s:%d: %s%ld%s: %s\n", - PROGNAME, - file, - lineno, - pre, - mid, - post, - msg - ); -} |