1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

Rationalize include order in C files

Include config.h first, then system includes, then libguile includes, in
alphabetical order, then the include for the file in question.
This commit is contained in:
Andy Wingo 2018-06-20 18:31:24 +02:00
parent 3068bc7384
commit b8d757732f
117 changed files with 981 additions and 929 deletions

View file

@ -24,13 +24,20 @@
# include <config.h>
#endif
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
/* For Windows... */
#ifdef HAVE_IO_H
#include <io.h>
#endif
#include "gsubr.h"
#include "async.h"
#include "dynwind.h"
#include "gsubr.h"
#include "list.h"
#include "modules.h"
#include "numbers.h"
@ -41,15 +48,7 @@
#include "error.h"
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#include <unistd.h>
/* For Windows... */
#ifdef HAVE_IO_H
#include <io.h>
#endif
/* {Errors and Exceptional Conditions}