diff options
Diffstat (limited to 'libguile/gc-malloc.c')
-rw-r--r-- | libguile/gc-malloc.c | 78 |
1 files changed, 34 insertions, 44 deletions
diff --git a/libguile/gc-malloc.c b/libguile/gc-malloc.c index 586bf173d..0992bb0d3 100644 --- a/libguile/gc-malloc.c +++ b/libguile/gc-malloc.c @@ -1,22 +1,21 @@ -/* Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, - * 2004, 2006, 2008, 2009, 2010, 2011, 2012, 2013, - * 2014 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-2004,2006,2008-2014,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/>. */ @@ -28,35 +27,26 @@ #include <errno.h> #include <string.h> #include <stdlib.h> +#include <unistd.h> -#ifdef __ia64__ -#include <ucontext.h> -extern unsigned long * __libc_ia64_register_backing_store_base; -#endif - -#include "libguile/_scm.h" -#include "libguile/eval.h" -#include "libguile/stime.h" -#include "libguile/stackchk.h" -#include "libguile/struct.h" -#include "libguile/smob.h" -#include "libguile/arrays.h" -#include "libguile/async.h" -#include "libguile/ports.h" -#include "libguile/strings.h" -#include "libguile/vectors.h" -#include "libguile/hashtab.h" -#include "libguile/tags.h" - -#include "libguile/validate.h" -#include "libguile/deprecation.h" -#include "libguile/gc.h" - +#include "arrays.h" +#include "async.h" #ifdef GUILE_DEBUG_MALLOC -#include "libguile/debug-malloc.h" +#include "debug-malloc.h" #endif +#include "deprecation.h" +#include "eval.h" +#include "hashtab.h" +#include "ports.h" +#include "smob.h" +#include "stackchk.h" +#include "stime.h" +#include "strings.h" +#include "struct.h" +#include "vectors.h" + +#include "gc.h" -#include <unistd.h> /* INIT_MALLOC_LIMIT is the initial amount of malloc usage which will |