mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-03 20:22:38 +00:00
Delete the use and definition of "eprint" (#15716)
This commit is contained in:
parent
42350f4942
commit
a911e4cb1e
@ -353,7 +353,6 @@ static inline void *r_new_copy(int size, void *data) {
|
||||
|
||||
#ifndef HAVE_EPRINTF
|
||||
#define eprintf(...) fprintf(stderr,__VA_ARGS__)
|
||||
#define eprint(x) fprintf(stderr,"%s\n",x)
|
||||
#define HAVE_EPRINTF 1
|
||||
#endif
|
||||
|
||||
|
@ -117,7 +117,7 @@ R_API bool r_base85_decode(FILE *fp, int delims, int ignore_garbage) {
|
||||
}
|
||||
ungetc (c, fp);
|
||||
} else if (c == EOF) {
|
||||
eprint ("ascii85: missing <~");
|
||||
eprintf ("ascii85: missing <~");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@ -134,7 +134,7 @@ R_API bool r_base85_decode(FILE *fp, int delims, int ignore_garbage) {
|
||||
if (c == '~' && delims) {
|
||||
c = getc_nospace (fp);
|
||||
if (c != '>') {
|
||||
eprint ("ascii85: ~ without >\n");
|
||||
eprintf ("ascii85: ~ without >\n");
|
||||
return false;
|
||||
}
|
||||
c = EOF;
|
||||
@ -142,7 +142,7 @@ R_API bool r_base85_decode(FILE *fp, int delims, int ignore_garbage) {
|
||||
}
|
||||
if (c == EOF) {
|
||||
if (delims && !end) {
|
||||
eprint ("ascii85: missing ~>");
|
||||
eprintf ("ascii85: missing ~>");
|
||||
return false;
|
||||
}
|
||||
if (count > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user