summaryrefslogtreecommitdiff
path: root/devel/cmunge/files/patch-src_proc-incl.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cmunge/files/patch-src_proc-incl.c')
-rw-r--r--devel/cmunge/files/patch-src_proc-incl.c61
1 files changed, 0 insertions, 61 deletions
diff --git a/devel/cmunge/files/patch-src_proc-incl.c b/devel/cmunge/files/patch-src_proc-incl.c
deleted file mode 100644
index 7361587d240a..000000000000
--- a/devel/cmunge/files/patch-src_proc-incl.c
+++ /dev/null
@@ -1,61 +0,0 @@
---- ./src/proc-incl.c.orig 1993-12-11 19:01:52.000000000 +0100
-+++ ./src/proc-incl.c 2011-12-15 18:06:38.000000000 +0100
-@@ -5,6 +5,8 @@
- /*----------------------------------------------------------------------*/
- /*{{{ global decls*/
- #include <stdio.h>
-+#include <stdlib.h>
-+#include <string.h>
- #include <sys/types.h> /* for 'stat ()' */
- #include <sys/stat.h> /* " " " */
-
-@@ -247,7 +249,7 @@
- int processed, val;
-
- if ( !(dict_file = fopen (incl_dict_filename, "r")) )
-- return;
-+ return 0;
-
- next_val = 0;
- while (fgets (buf, BUFLEN, dict_file) ) {
-@@ -297,7 +299,7 @@
- }
-
- fclose (dict_file);
-- return;
-+ return 0;
- }
- /*}}}*/
- /*{{{ write_new_dict () -- OK*/
-@@ -362,7 +364,7 @@
- while ((c = getchar ()) != delim) {
- switch (c) {
- case EOF :
-- return;
-+ return 0;
-
- case '\\' :
- /*---------------------------------------*/
-@@ -370,7 +372,7 @@
- /*---------------------------------------*/
- putchar (c);
- if ((c = getchar ()) == EOF)
-- return;
-+ return 0;
- putchar (c);
- break;
-
-@@ -406,11 +408,11 @@
- do {
- switch (getchar ()) {
- case EOF :
-- return;
-+ return 0;
- case '*' :
- switch (c = getchar ()) {
- case EOF :
-- return;
-+ return 0;
- case '/' :
- in_comment = FALSE;
- break;