summaryrefslogtreecommitdiff
path: root/libguile/load.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/load.c')
-rw-r--r--libguile/load.c98
1 files changed, 50 insertions, 48 deletions
diff --git a/libguile/load.c b/libguile/load.c
index c209812dc..e95c36db1 100644
--- a/libguile/load.c
+++ b/libguile/load.c
@@ -1,21 +1,21 @@
-/* Copyright (C) 1995, 1996, 1998-2001, 2004, 2006, 2008-2018
- * Free Software Foundation, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 3 of
- * the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- * 02110-1301 USA
- */
+/* Copyright 1995-1996,1998-2001,2004,2006,2008-2019
+ Free Software Foundation, Inc.
+
+ This file is part of Guile.
+
+ Guile is free software: you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ Guile is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with Guile. If not, see
+ <https://www.gnu.org/licenses/>. */
@@ -24,29 +24,9 @@
# include <config.h>
#endif
+#include <stat-time.h>
#include <string.h>
#include <stdio.h>
-
-#include "libguile/_scm.h"
-#include "libguile/alist.h"
-#include "libguile/chars.h"
-#include "libguile/dynwind.h"
-#include "libguile/eval.h"
-#include "libguile/fports.h"
-#include "libguile/libpath.h"
-#include "libguile/loader.h"
-#include "libguile/modules.h"
-#include "libguile/read.h"
-#include "libguile/srfi-13.h"
-#include "libguile/strings.h"
-#include "libguile/throw.h"
-
-#include "libguile/validate.h"
-#include "libguile/load.h"
-#include "libguile/fluids.h"
-
-#include "libguile/vm.h" /* for load-compiled/vm */
-
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
@@ -55,12 +35,40 @@
#include <pwd.h>
#endif /* HAVE_PWD_H */
+#include "alist.h"
+#include "backtrace.h"
+#include "boolean.h"
+#include "chars.h"
+#include "dynwind.h"
+#include "eq.h"
+#include "eval.h"
+#include "filesys.h"
+#include "fluids.h"
+#include "fports.h"
+#include "gsubr.h"
+#include "keywords.h"
+#include "libpath.h"
+#include "list.h"
+#include "loader.h"
+#include "modules.h"
+#include "pairs.h"
+#include "procs.h"
+#include "read.h"
+#include "srfi-13.h"
+#include "strings.h"
+#include "strports.h"
+#include "symbols.h"
+#include "throw.h"
+#include "variable.h"
+#include "version.h"
+#include "vm.h" /* for load-compiled/vm */
+
+#include "load.h"
+
#ifndef R_OK
#define R_OK 4
#endif
-#include <stat-time.h>
-
/* Loading a file, given an absolute filename. */
@@ -1363,7 +1371,7 @@ scm_init_load ()
init_build_info ();
-#include "libguile/load.x"
+#include "load.x"
}
void
@@ -1390,9 +1398,3 @@ scm_init_load_should_auto_compile ()
}
-
-/*
- Local Variables:
- c-file-style: "gnu"
- End:
-*/