summaryrefslogtreecommitdiff
path: root/usr.bin/patch/common.h
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2006-03-11 19:41:31 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2006-03-11 19:41:31 +0000
commit0602b73ec15a8277cd9d17df0b64329377368829 (patch)
tree5b0f8ad26f4db55eaa206f9989cc3cb9f1ae35e5 /usr.bin/patch/common.h
parente636efd76e49a691912f28b0f3a2fcc4d39d3698 (diff)
type police and assorted cleanup. From Lionel Fourquaux; ok ray@
Diffstat (limited to 'usr.bin/patch/common.h')
-rw-r--r--usr.bin/patch/common.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/patch/common.h b/usr.bin/patch/common.h
index 4101a575747..57b6614d7d0 100644
--- a/usr.bin/patch/common.h
+++ b/usr.bin/patch/common.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: common.h,v 1.25 2003/10/31 20:20:45 millert Exp $ */
+/* $OpenBSD: common.h,v 1.26 2006/03/11 19:41:30 otto Exp $ */
/*
* patch - a program to apply diffs to original files
@@ -26,6 +26,8 @@
* behaviour
*/
+#include <sys/types.h>
+
#include <stdbool.h>
#define DEBUGGING
@@ -61,7 +63,7 @@ typedef long LINENUM; /* must be signed */
/* globals */
-extern int filemode;
+extern mode_t filemode;
extern char buf[MAXLINELEN];/* general purpose buffer */