diff -Nurd -x'*~' indent-2.2.9.orig/man/texinfo2man.c indent-2.2.9/man/texinfo2man.c --- indent-2.2.9.orig/man/texinfo2man.c 2002-01-17 14:28:51.000000000 -0500 +++ indent-2.2.9/man/texinfo2man.c 2005-12-02 15:11:03.000000000 -0500 @@ -1,5 +1,9 @@ +#include #include +#include "config.h" +#ifdef HAVE_MALLOC_H #include +#endif #include #include @@ -162,7 +166,7 @@ static char value_updated[64], value_edition[64], value_version[64]; -process_texi (FILE * in) +void process_texi (FILE * in) { char buf[1024]; int in_block = 0; diff -Nurd -x'*~' indent-2.2.9.orig/src/comments.c indent-2.2.9/src/comments.c --- indent-2.2.9.orig/src/comments.c 2002-08-04 13:08:41.000000000 -0400 +++ indent-2.2.9/src/comments.c 2005-12-02 15:09:14.000000000 -0500 @@ -19,6 +19,7 @@ #include "io.h" #include "comments.h" #include "globs.h" +#include "output.h" #include "parse.h" RCSTAG_CC ("$Id: comments.c,v 1.33 2002/08/04 17:08:41 david Exp $"); diff -Nurd -x'*~' indent-2.2.9.orig/src/indent.h indent-2.2.9/src/indent.h --- indent-2.2.9.orig/src/indent.h 2002-11-10 16:02:48.000000000 -0500 +++ indent-2.2.9/src/indent.h 2005-12-02 15:11:47.000000000 -0500 @@ -97,7 +97,7 @@ extern unsigned long in_prog_size; /* The output file. */ -extern FILE *output; +//extern FILE *output; diff -Nurd -x'*~' indent-2.2.9.orig/src/output.c indent-2.2.9/src/output.c --- indent-2.2.9.orig/src/output.c 2002-12-12 12:36:49.000000000 -0500 +++ indent-2.2.9/src/output.c 2005-12-02 15:11:26.000000000 -0500 @@ -11,6 +11,7 @@ * preprocessor-statements with n spaces per level. overrides -lps. */ +#include #include #include #include @@ -1206,7 +1207,7 @@ } } -extern inhibit_indenting( +extern void inhibit_indenting( BOOLEAN flag) { inhibited = flag; diff -Nurd -x'*~' indent-2.2.9.orig/src/output.h indent-2.2.9/src/output.h --- indent-2.2.9.orig/src/output.h 2002-08-04 13:08:41.000000000 -0400 +++ indent-2.2.9/src/output.h 2005-12-02 15:10:12.000000000 -0500 @@ -47,8 +47,11 @@ struct stat * file_stats, const char * filename); -extern inhibit_indenting( +extern void inhibit_indenting( BOOLEAN flag); +extern void dump_line ( + int force_nl, + int *paren_targ); #endif