From 473ce5e5393eec33250a56e7099e936f185b4c6e Mon Sep 17 00:00:00 2001 From: Niall O'Higgins Date: Sat, 3 Jun 2006 03:05:11 +0000 Subject: - correctly handle binary files; say bye bye to using c strings for deltatexts. "slap it in" joris@ --- usr.bin/rcs/rcs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/rcs/rcs.h') diff --git a/usr.bin/rcs/rcs.h b/usr.bin/rcs/rcs.h index cf9b05cc884..de99dc5e97f 100644 --- a/usr.bin/rcs/rcs.h +++ b/usr.bin/rcs/rcs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.h,v 1.4 2006/05/27 08:12:29 ray Exp $ */ +/* $OpenBSD: rcs.h,v 1.5 2006/06/03 03:05:10 niallo Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. @@ -231,7 +231,7 @@ int rcs_lock_setmode(RCSFILE *, int); int rcs_lock_add(RCSFILE *, const char *, RCSNUM *); int rcs_lock_remove(RCSFILE *, const char *, RCSNUM *); BUF *rcs_getrev(RCSFILE *, RCSNUM *); -int rcs_deltatext_set(RCSFILE *, RCSNUM *, const char *); +int rcs_deltatext_set(RCSFILE *, RCSNUM *, BUF *); const char *rcs_desc_get(RCSFILE *); void rcs_desc_set(RCSFILE *, const char *); const char *rcs_comment_lookup(const char *); -- cgit v1.2.3