pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files/lib pkg_install: mark show_...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ccaab734bb0e
branches:  trunk
changeset: 442876:ccaab734bb0e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Dec 02 12:10:38 2020 +0000

description:
pkg_install: mark show_version as noreturn since it exits

diffstat:

 pkgtools/pkg_install/files/lib/lib.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 946040cf4ffa -r ccaab734bb0e pkgtools/pkg_install/files/lib/lib.h
--- a/pkgtools/pkg_install/files/lib/lib.h      Wed Dec 02 11:06:55 2020 +0000
+++ b/pkgtools/pkg_install/files/lib/lib.h      Wed Dec 02 12:10:38 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lib.h,v 1.70 2020/07/01 10:03:20 jperkin Exp $ */
+/* $NetBSD: lib.h,v 1.71 2020/12/02 12:10:38 wiz Exp $ */
 
 /* from FreeBSD Id: lib.h,v 1.25 1997/10/08 07:48:03 charnier Exp */
 
@@ -270,7 +270,7 @@
 
 /* Prototypes */
 /* Misc */
-void    show_version(void);
+void    show_version(void) __attribute__ ((noreturn));
 int    fexec(const char *, ...);
 int    fexec_skipempty(const char *, ...);
 int    fcexec(const char *, const char *, ...);



Home | Main Index | Thread Index | Old Index