summaryrefslogtreecommitdiff
path: root/libguile/weak-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/weak-table.c')
-rw-r--r--libguile/weak-table.c68
1 files changed, 35 insertions, 33 deletions
diff --git a/libguile/weak-table.c b/libguile/weak-table.c
index 461d4a47c..1e4d8d302 100644
--- a/libguile/weak-table.c
+++ b/libguile/weak-table.c
@@ -1,39 +1,47 @@
-/* Copyright (C) 2011, 2012, 2013, 2014, 2017 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 2011-2014,2017-2018
+ 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/>. */
+
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <assert.h>
-#include "libguile/bdw-gc.h"
-#include <gc/gc_typed.h>
+#include "alist.h"
+#include "bdw-gc.h"
+#include "eval.h"
+#include "finalizers.h"
+#include "gsubr.h"
+#include "hash.h"
+#include "numbers.h"
+#include "pairs.h"
+#include "ports.h"
+#include "procs.h"
+#include "threads.h"
+#include "weak-list.h"
+
+#include "weak-table.h"
-#include "libguile/_scm.h"
-#include "libguile/hash.h"
-#include "libguile/eval.h"
-#include "libguile/ports.h"
-#include "libguile/validate.h"
-#include "libguile/weak-list.h"
-#include "libguile/weak-table.h"
+#include <gc/gc_typed.h>
/* Weak Tables
@@ -831,13 +839,7 @@ scm_weak_table_prehistory (void)
void
scm_init_weak_table ()
{
-#include "libguile/weak-table.x"
+#include "weak-table.x"
scm_i_register_async_gc_callback (vacuum_all_weak_tables);
}
-
-/*
- Local Variables:
- c-file-style: "gnu"
- End:
-*/