pkgsrc-ng/editors/mule/patches/patch-src_abbrev_c
2013-09-26 17:14:40 +02:00

39 lines
840 B
Plaintext
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_abbrev_c,v 1.2 2013/04/21 15:39:59 joerg Exp $
- use standard headers
--- src/abbrev.c.orig 1993-09-13 11:20:03.000000000 +0000
+++ src/abbrev.c
@@ -20,6 +20,7 @@ the Free Software Foundation, 675 Mass A
#include <config.h>
#include <stdio.h>
+#include <stdlib.h>
#include "lisp.h"
#include "commands.h"
#include "buffer.h"
@@ -369,9 +370,8 @@ is not undone.")
return Qnil;
}
-static
-write_abbrev (sym, stream)
- Lisp_Object sym, stream;
+static void
+write_abbrev (Lisp_Object sym, Lisp_Object stream)
{
Lisp_Object name;
if (NILP (XSYMBOL (sym)->value))
@@ -388,9 +388,8 @@ write_abbrev (sym, stream)
insert (")\n", 2);
}
-static
-describe_abbrev (sym, stream)
- Lisp_Object sym, stream;
+static void
+describe_abbrev (Lisp_Object sym, Lisp_Object stream)
{
Lisp_Object one;