aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index f9dc4f2..413a4f4 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -623,7 +623,7 @@ perror_string (const char *prefix)
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);