summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/version.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-09-22 05:45:26 +0000
committermillert <millert@openbsd.org>1997-09-22 05:45:26 +0000
commit71eaa2b5019ddca8beb9154691db120fda984c3c (patch)
tree67435032c96b18ee5c5b24b6244cee5b7555dd80 /usr.bin/patch/version.c
parentUse our own fnmatch(). (diff)
downloadwireguard-openbsd-71eaa2b5019ddca8beb9154691db120fda984c3c.tar.xz
wireguard-openbsd-71eaa2b5019ddca8beb9154691db120fda984c3c.zip
Start of -Wall and cleaning up icky bits.
Diffstat (limited to 'usr.bin/patch/version.c')
-rw-r--r--usr.bin/patch/version.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/patch/version.c b/usr.bin/patch/version.c
index 52da0ecf865..417956b4004 100644
--- a/usr.bin/patch/version.c
+++ b/usr.bin/patch/version.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: version.c,v 1.2 1996/06/10 11:21:35 niklas Exp $ */
+/* $OpenBSD: version.c,v 1.3 1997/09/22 05:45:28 millert Exp $ */
#ifndef lint
-static char rcsid[] = "$OpenBSD: version.c,v 1.2 1996/06/10 11:21:35 niklas Exp $";
+static char rcsid[] = "$OpenBSD: version.c,v 1.3 1997/09/22 05:45:28 millert Exp $";
#endif /* not lint */
#include "EXTERN.h"
@@ -11,7 +11,11 @@ static char rcsid[] = "$OpenBSD: version.c,v 1.2 1996/06/10 11:21:35 niklas Exp
#include "patchlevel.h"
#include "version.h"
+#ifdef __GNUC__
+void my_exit() __attribute__((noreturn));
+#else
void my_exit();
+#endif
/* Print out the version number and die. */