1
0
mirror of https://github.com/UzixLS/picocom.git synced 2025-07-19 07:21:18 +03:00

Cleanup error and info messages

Also moved fd_pinfof to picocom.c and renamed it to pinfo
This commit is contained in:
Nick Patavalis
2017-12-21 15:58:47 +02:00
parent a35a9cb1b7
commit 1b8a19f10e
3 changed files with 40 additions and 45 deletions

16
fdio.c
View File

@ -77,22 +77,6 @@ fd_printf (int fd, const char *format, ...)
return len;
}
int
fd_pinfof(int quiet, const char *format, ...)
{
va_list args;
int len;
if ( quiet ) {
return 0;
}
va_start(args, format);
len = fd_vprintf(STDOUT_FILENO, format, args);
va_end(args);
return len;
}
/**********************************************************************/
#ifndef LINENOISE