Wed Dec 2 12:10:38 2020 UTC ()
pkg_install: mark show_version as noreturn since it exits


(wiz)
diff -r1.70 -r1.71 pkgsrc/pkgtools/pkg_install/files/lib/lib.h

cvs diff -r1.70 -r1.71 pkgsrc/pkgtools/pkg_install/files/lib/lib.h (expand / switch to context diff)
--- pkgsrc/pkgtools/pkg_install/files/lib/lib.h 2020/07/01 10:03:20 1.70
+++ pkgsrc/pkgtools/pkg_install/files/lib/lib.h 2020/12/02 12:10:38 1.71
@@ -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 *, ...);