summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/version.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-07-18 02:00:09 +0000
committerderaadt <deraadt@openbsd.org>2003-07-18 02:00:09 +0000
commit5dc74f7d2ed1c5014593de46fa7001edbec19bd2 (patch)
tree70bd1d111f6d2092178213ee4efba0074663898e /usr.bin/patch/version.c
parentuserid is unsigned, but well, force it anyways; andrushock@korovino.net (diff)
downloadwireguard-openbsd-5dc74f7d2ed1c5014593de46fa7001edbec19bd2.tar.xz
wireguard-openbsd-5dc74f7d2ed1c5014593de46fa7001edbec19bd2.zip
remove junk; ok otto tedu
Diffstat (limited to 'usr.bin/patch/version.c')
-rw-r--r--usr.bin/patch/version.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/usr.bin/patch/version.c b/usr.bin/patch/version.c
deleted file mode 100644
index 417956b4004..00000000000
--- a/usr.bin/patch/version.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/* $OpenBSD: version.c,v 1.3 1997/09/22 05:45:28 millert Exp $ */
-
-#ifndef lint
-static char rcsid[] = "$OpenBSD: version.c,v 1.3 1997/09/22 05:45:28 millert Exp $";
-#endif /* not lint */
-
-#include "EXTERN.h"
-#include "common.h"
-#include "util.h"
-#include "INTERN.h"
-#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. */
-
-void
-version()
-{
- fprintf(stderr, "Patch version 2.0, patch level %s\n", PATCHLEVEL);
- my_exit(0);
-}