X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=lib%2Fopenat-die.c;h=26df87afb20890130559ce11c2ee3ea43b4304e5;hb=92249085071a973e2c0621b0415b93d2e48bb00d;hp=a5f17d8a55e14358f37d84356ef671e871ec03ba;hpb=4ee107046a0ffd91f6c60c787326a5e27b799f6d;p=debian%2Fgzip
diff --git a/lib/openat-die.c b/lib/openat-die.c
index a5f17d8..26df87a 100644
--- a/lib/openat-die.c
+++ b/lib/openat-die.c
@@ -1,6 +1,6 @@
/* Report a save- or restore-cwd failure in our openat replacement and then exit.
- Copyright (C) 2005-2006, 2008-2012 Free Software Foundation, Inc.
+ Copyright (C) 2005-2006, 2008-2018 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -13,7 +13,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program. If not, see . */
+ along with this program. If not, see . */
#include
@@ -30,7 +30,7 @@
#include "gettext.h"
#define _(msgid) gettext (msgid)
-void
+_Noreturn void
openat_save_fail (int errnum)
{
#ifndef GNULIB_LIBPOSIX
@@ -49,7 +49,7 @@ openat_save_fail (int errnum)
during an openat emulation. The caller must ensure that fd 2 is
not a just-opened fd, even when openat_safer is not in use. */
-void
+_Noreturn void
openat_restore_fail (int errnum)
{
#ifndef GNULIB_LIBPOSIX