summaryrefslogtreecommitdiff
path: root/usr.bin/patch/pch.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/patch/pch.h')
-rw-r--r--usr.bin/patch/pch.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/usr.bin/patch/pch.h b/usr.bin/patch/pch.h
index d8b9fa73c3d..b7bf8e8a224 100644
--- a/usr.bin/patch/pch.h
+++ b/usr.bin/patch/pch.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pch.h,v 1.8 2003/08/15 08:00:51 otto Exp $ */
+/* $OpenBSD: pch.h,v 1.9 2003/10/31 20:20:45 millert Exp $ */
/*
* patch - a program to apply diffs to original files
@@ -26,6 +26,16 @@
* behaviour
*/
+#define OLD_FILE 0
+#define NEW_FILE 1
+#define INDEX_FILE 2
+#define MAX_FILE 3
+
+struct file_name {
+ char *path;
+ bool exists;
+};
+
void re_patch(void);
void open_patch_file(const char *);
void set_hunkmax(void);