summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2020-12-02 12:10:38 +0000
committerwiz <wiz@pkgsrc.org>2020-12-02 12:10:38 +0000
commit484492948dd7b098849b60c88caa41af082d0262 (patch)
tree47ac109e9d5a9f05c735aa75e62e7f4ae157d224 /pkgtools
parentb2a64e947f824efe0ca09fc5b1d8a6ef6990391e (diff)
downloadpkgsrc-484492948dd7b098849b60c88caa41af082d0262.tar.gz
pkg_install: mark show_version as noreturn since it exits
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_install/files/lib/lib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/files/lib/lib.h b/pkgtools/pkg_install/files/lib/lib.h
index 937b53980fb..c79e6a6e1cd 100644
--- a/pkgtools/pkg_install/files/lib/lib.h
+++ b/pkgtools/pkg_install/files/lib/lib.h
@@ -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 @@ int some_installed_package_conflicts_with(const char *, const char *, char **, c
/* 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 *, ...);