summaryrefslogtreecommitdiff
path: root/usr.bin/patch/patch.c
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-03 07:25:47 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-03 07:25:47 -0500
commit7672573e52e652a5b800638bd8605c1eee7c54b6 (patch)
tree869733f20f2edc0d0f4e6c2636ed44a0f057714d /usr.bin/patch/patch.c
parent910491b6123a35ec4ab1530dcb91659bcc3d1cad (diff)
downloaduserland-7672573e52e652a5b800638bd8605c1eee7c54b6.tar.gz
userland-7672573e52e652a5b800638bd8605c1eee7c54b6.tar.bz2
userland-7672573e52e652a5b800638bd8605c1eee7c54b6.tar.xz
userland-7672573e52e652a5b800638bd8605c1eee7c54b6.zip
usr.bin/patch: make buildable
Diffstat (limited to 'usr.bin/patch/patch.c')
-rw-r--r--usr.bin/patch/patch.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/patch/patch.c b/usr.bin/patch/patch.c
index 9f49e7f..c7c8f08 100644
--- a/usr.bin/patch/patch.c
+++ b/usr.bin/patch/patch.c
@@ -30,9 +30,6 @@
* behaviour
*/
-#include <sys/cdefs.h>
-__RCSID("$NetBSD: patch.c,v 1.29 2011/09/06 18:25:14 joerg Exp $");
-
#include <sys/types.h>
#include <sys/stat.h>
@@ -106,7 +103,7 @@ static bool spew_output(void);
static void dump_line(LINENUM, bool);
static bool patch_match(LINENUM, LINENUM, LINENUM);
static bool similar(const char *, const char *, int);
-__dead static void usage(void);
+static void usage(void);
/* true if -E was specified on command line. */
static bool remove_empty_files = false;