Add a pv_perror() function to remove all the repeated strerror(errno) calls from pv_error() arguments, and standardise the error lines so the filename in question always comes first.
This commit is contained in:
@@ -555,6 +555,7 @@ struct pvdisplay_component_s {
|
||||
};
|
||||
|
||||
void pv_error(char *, ...);
|
||||
void pv_perror(char *, ...);
|
||||
|
||||
int pv_main_loop(pvstate_t);
|
||||
void pv_calculate_transfer_rate(pvtransfercalc_t, readonly_pvtransferstate_t, readonly_pvcontrol_t, readonly_pvdisplay_t, bool);
|
||||
|
||||
Reference in New Issue
Block a user