The throw_perror_with_name function is not used outside of utils.c
right now. And as perror_with_name is just a wrapper around
throw_perror_with_name, then any future calls would be to
perror_with_name.
Lets make throw_perror_with_name static.
There should be no user visible changes after this commit.
as the file name for which the error was encountered. Use ERRCODE
for the thrown exception. Then return to command level. */
-void
+static void ATTRIBUTE_NORETURN
throw_perror_with_name (enum errors errcode, const char *string)
{
std::string combined = perror_string (string);
extern void fprintf_symbol (struct ui_file *, const char *,
enum language, int);
-extern void throw_perror_with_name (enum errors errcode, const char *string)
- ATTRIBUTE_NORETURN;
-
extern void perror_warning_with_name (const char *string);
extern void print_sys_errmsg (const char *, int);