summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/buf.h
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2006-07-08 09:25:45 +0000
committerRay Lai <ray@cvs.openbsd.org>2006-07-08 09:25:45 +0000
commit907fb5cd814439ccc648628c99c54afd91ddf3e2 (patch)
tree6b511f331b9418ed0a9e41e746ce872b2622d119 /usr.bin/rcs/buf.h
parentd8aaf277a540b3ac999a3d657ca6fbe490f9f53d (diff)
Remove file mode argument from {cvs|rcs}_buf_write_stmp(). We
always set the temporary file to mode 600, which is already done by mkstemp(). OK joris@ and xsa@ over a month ago.
Diffstat (limited to 'usr.bin/rcs/buf.h')
-rw-r--r--usr.bin/rcs/buf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rcs/buf.h b/usr.bin/rcs/buf.h
index f4a7a6e8055..197118441fa 100644
--- a/usr.bin/rcs/buf.h
+++ b/usr.bin/rcs/buf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: buf.h,v 1.3 2006/06/03 03:05:10 niallo Exp $ */
+/* $OpenBSD: buf.h,v 1.4 2006/07/08 09:25:44 ray Exp $ */
/*
* Copyright (c) 2003 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -57,6 +57,6 @@ void rcs_buf_putc(BUF *, int);
size_t rcs_buf_len(BUF *);
int rcs_buf_write_fd(BUF *, int);
int rcs_buf_write(BUF *, const char *, mode_t);
-void rcs_buf_write_stmp(BUF *, char *, mode_t);
+void rcs_buf_write_stmp(BUF *, char *);
void *rcs_buf_get(BUF *b);
#endif /* BUF_H */