mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
39 lines
840 B
Plaintext
39 lines
840 B
Plaintext
$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;
|
||
|