summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/util.h
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2003-07-25 02:12:45 +0000
committermillert <millert@openbsd.org>2003-07-25 02:12:45 +0000
commit7fe8583a2a5578563ecc776e27cc7bde80a54a23 (patch)
tree960b7e00d90075e5b235a348bb27a0720840be79 /usr.bin/patch/util.h
parentvarious tweaks; (diff)
downloadwireguard-openbsd-7fe8583a2a5578563ecc776e27cc7bde80a54a23.tar.xz
wireguard-openbsd-7fe8583a2a5578563ecc776e27cc7bde80a54a23.zip
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)));