summaryrefslogtreecommitdiff
path: root/misc/fep/patches/patch-af
blob: 67e5d868b218f29986c5081d02d10505c0a9ba53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
$NetBSD: patch-af,v 1.7 2012/03/01 22:00:44 hans Exp $

--- fep_funcs.c.orig	1991-05-29 01:31:18.000000000 -0400
+++ fep_funcs.c	2005-12-10 16:59:27.000000000 -0500
@@ -3,9 +3,10 @@
 #ifndef lint
 static char rcsid[]=
 "$Header: /cvsroot/pkgsrc/misc/fep/patches/patch-af,v 1.7 2012/03/01 22:00:44 hans Exp $ (SRA)";
-#endif lint
+#endif /* lint */
 
 #include <stdio.h>
+#include "fep_defs.h"
 #include "fep_funcs.h"
 
 /*
@@ -94,7 +95,7 @@ FunctionTableEnt FunctionNameTable[] = {
 	 "Expand file name"},
 	{list_file_name,		"list-file-name",
 	 "List file name"},
-	{terminate,			"terminate",
+	{(FUNC)terminate,			"terminate",
 	 "Terminate fep"},
 	{suspend,			"suspend",
 	 "Suspend fep"},
@@ -193,7 +194,7 @@ FunctionTableEnt BuiltinFuncTable[] = {
 	 "Operation \"else\""},
 	{fep_endif,			"fep-endif",
 	 "Operation \"endif\""},
-	{terminate,			"fep-exit",
+	{(FUNC)terminate,			"fep-exit",
 	 "Terminate fep"},
 	{suspend,			"fep-suspend",
 	 "Suspend fep"},