]> code.delx.au - gnu-emacs/blobdiff - lib-src/sorted-doc.c
(occur-engine): Set buffer-file-coding-system of
[gnu-emacs] / lib-src / sorted-doc.c
index d0c160b8ad8f31e036c1e5fccf0d27f51fa5860b..185295a9294fd5d64b0e82d6390107bc156e7d3c 100644 (file)
@@ -1,6 +1,6 @@
 /* Give this program DOC-mm.nn.oo as standard input and it outputs to
    standard output a file of texinfo input containing the doc strings.
-   
+
    Copyright (C) 1989, 1992, 1994, 1996, 1999, 2000, 2001
       Free Software Foundation Inc.
 
 
    This version sorts the output by function name.  */
 
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <ctype.h>
 #ifndef HAVE_STDLIB_H          /* config.h includes stdlib.  */
@@ -118,7 +121,7 @@ char *states[] =
 {
   "WAITING", "BEG_NAME", "NAME_GET", "BEG_DESC", "DESC_GET"
 };
-    
+
 int
 main ()
 {
@@ -130,7 +133,7 @@ main ()
 
   DOCSTR *docs;                        /* chain of allocated DOCSTRS */
   char buf[512];               /* line buffer */
-    
+
   while (1)                    /* process one char at a time */
     {
       /* this char from the DOCSTR file */
@@ -178,7 +181,7 @@ main ()
          bp = buf;
          state = DESC_GET;
        }
-       
+
       /* process gets */
 
       if (state == NAME_GET || state == DESC_GET)