=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mg/undo.c,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- src/usr.bin/mg/undo.c 2005/12/13 05:40:33 1.36 +++ src/usr.bin/mg/undo.c 2005/12/13 07:20:13 1.37 @@ -1,4 +1,4 @@ -/* $OpenBSD: undo.c,v 1.36 2005/12/13 05:40:33 kjell Exp $ */ +/* $OpenBSD: undo.c,v 1.37 2005/12/13 07:20:13 kjell Exp $ */ /* * Copyright (c) 2002 Vincent Labrecque * All rights reserved. @@ -205,23 +205,23 @@ * Record an undo boundary, unless 'nobound' is set via undo_no_boundary. * Does nothing if previous undo entry is already a boundary. */ -int +void undo_add_boundary(void) { struct undo_rec *rec; if (nobound) - return (TRUE); + return; if (lastrectype() == BOUNDARY) - return (TRUE); + return; rec = new_undo_record(); rec->type = BOUNDARY; LIST_INSERT_HEAD(&curbp->b_undo, rec, next); - return (TRUE); + return; } int