1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-18 01:30:27 +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,32 +24,34 @@
# include <config.h>
#endif
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>
#ifdef HAVE_IO_H
#include <io.h>
#endif
#include "gsubr.h"
#include "pairs.h"
#include "async.h"
#include "dynwind.h"
#include "extensions.h"
#include "fdes-finalizers.h"
#include "feature.h"
#include "fports.h"
#include "gsubr.h"
#include "hashtab.h"
#include "ioext.h"
#include "numbers.h"
#include "pairs.h"
#include "ports-internal.h"
#include "ports.h"
#include "strings.h"
#include "syscalls.h"
#include "weak-set.h"
#include <fcntl.h>
#include "ioext.h"
#ifdef HAVE_IO_H
#include <io.h>
#endif
#include <unistd.h>
SCM_DEFINE (scm_ftell, "ftell", 1, 0, 0,