summaryrefslogtreecommitdiff
path: root/usr.bin/patch/pch.h
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2003-07-28 18:35:37 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2003-07-28 18:35:37 +0000
commitddc51679e0d7a0d497bf7cd7e9d2866c5be2aa5d (patch)
tree4e99bcd2a450310ee94742f740345d0f55a82a6e /usr.bin/patch/pch.h
parentde05ac6eec33d6cf886405f881d77ff56b3a8306 (diff)
More cleanup: sprinkled some const, removed ugly EXTERN/INTERN.h,
some rewriting of code to make it more readable and more KNF. ok millert@ tedu@ deraadt@
Diffstat (limited to 'usr.bin/patch/pch.h')
-rw-r--r--usr.bin/patch/pch.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/patch/pch.h b/usr.bin/patch/pch.h
index 9c8633f4f53..c3735893223 100644
--- a/usr.bin/patch/pch.h
+++ b/usr.bin/patch/pch.h
@@ -1,9 +1,7 @@
-/* $OpenBSD: pch.h,v 1.6 2003/07/22 17:18:49 otto Exp $ */
-
-EXT FILE *pfp INIT(NULL); /* patch file pointer */
+/* $OpenBSD: pch.h,v 1.7 2003/07/28 18:35:36 otto Exp $ */
void re_patch(void);
-void open_patch_file(char *);
+void open_patch_file(const char *);
void set_hunkmax(void);
bool there_is_another_patch(void);
bool another_hunk(void);