=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/rcs.c,v retrieving revision 1.161 retrieving revision 1.162 diff -u -r1.161 -r1.162 --- src/usr.bin/cvs/rcs.c 2006/04/05 01:38:55 1.161 +++ src/usr.bin/cvs/rcs.c 2006/04/10 08:08:00 1.162 @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.c,v 1.161 2006/04/05 01:38:55 ray Exp $ */ +/* $OpenBSD: rcs.c,v 1.162 2006/04/10 08:08:00 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. @@ -1470,16 +1470,15 @@ * rcs_kwexp_set() * * Set the keyword expansion mode to use on the RCS file to . - * Returns 0 on success, or -1 on failure. */ -int +void rcs_kwexp_set(RCSFILE *file, int mode) { int i; char *tmp, buf[8] = ""; if (RCS_KWEXP_INVAL(mode)) - return (-1); + return; i = 0; if (mode == RCS_KWEXP_NONE) @@ -1501,8 +1500,6 @@ file->rf_expand = tmp; /* not synced anymore */ file->rf_flags &= ~RCS_SYNCED; - - return (0); } /*