summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/version.c
diff options
context:
space:
mode:
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. */