summaryrefslogtreecommitdiff
path: root/usr.bin/patch/util.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-07-25 02:12:46 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-07-25 02:12:46 +0000
commit3d20201d8f84a8462bad6ba9c703a1a14ad5dee1 (patch)
tree64be85ba6f56bc9fd775cf808b26dd3006edc6cd /usr.bin/patch/util.h
parent4979527ac89a23153e53f1107c12df9d47a529b2 (diff)
Add POSIX -b option but don't change the default beahvior wrt backups
yet. The old -b option is now -z (matches GNU patch).
Diffstat (limited to 'usr.bin/patch/util.h')
-rw-r--r--usr.bin/patch/util.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/patch/util.h b/usr.bin/patch/util.h
index 17e7747c5a8..41495ea0401 100644
--- a/usr.bin/patch/util.h
+++ b/usr.bin/patch/util.h
@@ -1,8 +1,9 @@
-/* $OpenBSD: util.h,v 1.8 2003/07/22 17:21:07 deraadt Exp $ */
+/* $OpenBSD: util.h,v 1.9 2003/07/25 02:12:45 millert Exp $ */
char *fetchname(char *, int, int);
+int backup_file(char *);
int move_file(char *, char *);
-void copy_file(char *, char *);
+int copy_file(char *, char *);
void say(char *, ...);
void fatal(char *, ...)
__attribute__((__format__(__printf__, 1, 2)));