diff options
Diffstat (limited to 'libguile/promises.c')
-rw-r--r-- | libguile/promises.c | 111 |
1 files changed, 51 insertions, 60 deletions
diff --git a/libguile/promises.c b/libguile/promises.c index 3ed229443..c47bd9086 100644 --- a/libguile/promises.c +++ b/libguile/promises.c @@ -1,21 +1,21 @@ -/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011 - * 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-2011,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/>. */ @@ -25,44 +25,42 @@ #include <alloca.h> -#include "libguile/__scm.h" - -#include "libguile/_scm.h" -#include "libguile/alist.h" -#include "libguile/async.h" -#include "libguile/continuations.h" -#include "libguile/debug.h" -#include "libguile/deprecation.h" -#include "libguile/dynwind.h" -#include "libguile/eq.h" -#include "libguile/eval.h" -#include "libguile/feature.h" -#include "libguile/fluids.h" -#include "libguile/goops.h" -#include "libguile/hash.h" -#include "libguile/hashtab.h" -#include "libguile/list.h" -#include "libguile/macros.h" -#include "libguile/memoize.h" -#include "libguile/modules.h" -#include "libguile/ports.h" -#include "libguile/print.h" -#include "libguile/procprop.h" -#include "libguile/programs.h" -#include "libguile/smob.h" -#include "libguile/srcprop.h" -#include "libguile/stackchk.h" -#include "libguile/strings.h" -#include "libguile/threads.h" -#include "libguile/throw.h" -#include "libguile/validate.h" -#include "libguile/values.h" -#include "libguile/promises.h" +#include "alist.h" +#include "async.h" +#include "continuations.h" +#include "debug.h" +#include "deprecation.h" +#include "dynwind.h" +#include "eq.h" +#include "eval.h" +#include "feature.h" +#include "fluids.h" +#include "goops.h" +#include "gsubr.h" +#include "hash.h" +#include "hashtab.h" +#include "list.h" +#include "macros.h" +#include "memoize.h" +#include "modules.h" +#include "ports.h" +#include "print.h" +#include "procprop.h" +#include "procs.h" +#include "programs.h" +#include "smob.h" +#include "srcprop.h" +#include "stackchk.h" +#include "strings.h" +#include "threads.h" +#include "throw.h" +#include "values.h" + +#include "promises.h" - scm_t_bits scm_tc16_promise; SCM_DEFINE (scm_make_promise, "make-promise", 1, 0, 0, @@ -135,14 +133,7 @@ scm_init_promises () scm_tc16_promise = scm_make_smob_type ("promise", 0); scm_set_smob_print (scm_tc16_promise, promise_print); -#include "libguile/promises.x" +#include "promises.x" scm_add_feature ("delay"); } - -/* - Local Variables: - c-file-style: "gnu" - End: -*/ - |