aboutsummaryrefslogtreecommitdiff
path: root/devel/cflow/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cflow/files/patch-ab')
-rw-r--r--devel/cflow/files/patch-ab55
1 files changed, 35 insertions, 20 deletions
diff --git a/devel/cflow/files/patch-ab b/devel/cflow/files/patch-ab
index 864b02cfd0be..f86a9b48aabe 100644
--- a/devel/cflow/files/patch-ab
+++ b/devel/cflow/files/patch-ab
@@ -1,20 +1,35 @@
-*** prcc.prototypes.h.orig Sun Oct 30 14:32:00 1994
---- prcc.prototypes.h Fri Sep 29 04:06:51 1995
-***************
-*** 16,23 ****
- static void per_file_init(void);
- static void per_file_cleanup(void);
- static BOOLEAN name_redefined(int isvar);
-! static void display_keywords(const char *type, char **words);
-! static void show_all_keywords(void);
- static BOOLEAN name_to_list(name_t **lp, char *lex_name);
- static BOOLEAN name_from_list(name_t **lp);
- static BOOLEAN name_in_list(name_t *l);
---- 16,22 ----
- static void per_file_init(void);
- static void per_file_cleanup(void);
- static BOOLEAN name_redefined(int isvar);
-! static void show_all_lists(void);
- static BOOLEAN name_to_list(name_t **lp, char *lex_name);
- static BOOLEAN name_from_list(name_t **lp);
- static BOOLEAN name_in_list(name_t *l);
+--- prcc.prototypes.h.orig 1994-10-31 03:32:00.000000000 +0800
++++ prcc.prototypes.h 2011-09-16 09:33:20.000000000 +0800
+@@ -1,23 +1,22 @@
+ /* prcc.c */
+ static void usage(void);
+-void main(int argc, char **argv);
++int main(int argc, char **argv);
+ static void ctags(void);
+ static void maketag(int scope, int iscall);
+-static tag_push(char *b);
+-static tag_pop(char *b);
+-static lex_gettoken(void);
+-static cpp_open(char *name);
+-static cpp_nonwhite(void);
+-static cpp_getc(void);
++static int tag_push(char *b);
++static int tag_pop(char *b);
++static int lex_gettoken(void);
++static int cpp_open(char *name);
++static int cpp_nonwhite(void);
++static int cpp_getc(void);
+ static int cpp_ungetc(int ch);
+ static int file_open(char *name);
+ static int file_getc(void);
+-static file_ungetc(int ch);
++static int file_ungetc(int ch);
+ static void per_file_init(void);
+ static void per_file_cleanup(void);
+ static BOOLEAN name_redefined(int isvar);
+-static void display_keywords(const char *type, char **words);
+-static void show_all_keywords(void);
++static void show_all_lists(void);
+ static BOOLEAN name_to_list(name_t **lp, char *lex_name);
+ static BOOLEAN name_from_list(name_t **lp);
+ static BOOLEAN name_in_list(name_t *l);