Files
pkgsrc-ng/editors/mule/patches/patch-src_insdel.c
2013-09-26 17:14:40 +02:00

27 lines
741 B
C
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
$NetBSD: patch-src_insdel.c,v 1.1 2013/04/21 15:39:59 joerg Exp $
--- src/insdel.c.orig 1994-10-24 03:58:26.000000000 +0000
+++ src/insdel.c
@@ -589,17 +589,16 @@ insert_from_string_after_markers (string
/* Delete characters in current buffer
from FROM up to (but not including) TO. */
+void del_range_1 (int from, int to, int prepare);
-del_range (from, to)
- register int from, to;
+void del_range (int from, int to)
{
- return del_range_1 (from, to, 1);
+ del_range_1 (from, to, 1);
}
/* Like del_range; PREPARE says whether to call prepare_to_modify_buffer. */
-del_range_1 (from, to, prepare)
- register int from, to, prepare;
+void del_range_1 (int from, int to, int prepare)
{
register int numdel;