* *.[hc]: add Emacs magic at the end of file, to ensure GNU
authorMichael Livshin <mlivshin@bigfoot.com>
Sun, 19 Mar 2000 19:01:16 +0000 (19:01 +0000)
committerMichael Livshin <mlivshin@bigfoot.com>
Sun, 19 Mar 2000 19:01:16 +0000 (19:01 +0000)
  indentation style.

187 files changed:
guile-readline/ChangeLog
guile-readline/readline.c
guile-readline/readline.h
libguile/ChangeLog
libguile/__scm.h
libguile/_scm.h
libguile/alist.c
libguile/alist.h
libguile/alloca.c
libguile/arbiters.c
libguile/arbiters.h
libguile/async.c
libguile/async.h
libguile/backtrace.c
libguile/backtrace.h
libguile/boolean.c
libguile/boolean.h
libguile/chars.c
libguile/chars.h
libguile/continuations.c
libguile/continuations.h
libguile/coop-defs.h
libguile/coop-threads.c
libguile/coop-threads.h
libguile/coop.c
libguile/cpp_errno.c
libguile/cpp_signal.c
libguile/debug.c
libguile/debug.h
libguile/dynl.c
libguile/dynl.h
libguile/dynwind.c
libguile/dynwind.h
libguile/eq.c
libguile/eq.h
libguile/error.c
libguile/error.h
libguile/eval.c
libguile/eval.h
libguile/evalext.c
libguile/evalext.h
libguile/feature.c
libguile/feature.h
libguile/filesys.c
libguile/filesys.h
libguile/fluids.c
libguile/fluids.h
libguile/fports.c
libguile/fports.h
libguile/fsu-pthreads.h
libguile/gc.c
libguile/gc.h
libguile/gdb_interface.h
libguile/gdbint.c
libguile/gdbint.h
libguile/gh.h
libguile/gh_data.c
libguile/gh_eval.c
libguile/gh_funcs.c
libguile/gh_init.c
libguile/gh_io.c
libguile/gh_list.c
libguile/gh_predicates.c
libguile/gh_test_c.c
libguile/gh_test_repl.c
libguile/gsubr.c
libguile/gsubr.h
libguile/guardians.c
libguile/guardians.h
libguile/guile.c
libguile/hash.c
libguile/hash.h
libguile/hashtab.c
libguile/hashtab.h
libguile/inet_aton.c
libguile/init.c
libguile/init.h
libguile/ioext.c
libguile/ioext.h
libguile/iselect.c
libguile/iselect.h
libguile/keywords.c
libguile/keywords.h
libguile/kw.h
libguile/lang.c
libguile/lang.h
libguile/libguile.h
libguile/list.c
libguile/list.h
libguile/load.c
libguile/load.h
libguile/macros.c
libguile/macros.h
libguile/mallocs.c
libguile/mallocs.h
libguile/memmove.c
libguile/mit-pthreads.c
libguile/mit-pthreads.h
libguile/modules.c
libguile/modules.h
libguile/net_db.c
libguile/net_db.h
libguile/numbers.c
libguile/numbers.h
libguile/objects.c
libguile/objects.h
libguile/objprop.c
libguile/objprop.h
libguile/options.c
libguile/options.h
libguile/pairs.c
libguile/pairs.h
libguile/ports.c
libguile/ports.h
libguile/posix.c
libguile/posix.h
libguile/print.c
libguile/print.h
libguile/procprop.c
libguile/procprop.h
libguile/procs.c
libguile/procs.h
libguile/putenv.c
libguile/ramap.c
libguile/ramap.h
libguile/random.c
libguile/random.h
libguile/read.c
libguile/read.h
libguile/regex-posix.c
libguile/regex-posix.h
libguile/root.c
libguile/root.h
libguile/scmsigs.c
libguile/scmsigs.h
libguile/script.c
libguile/script.h
libguile/simpos.c
libguile/simpos.h
libguile/smob.c
libguile/smob.h
libguile/snarf.h
libguile/socket.c
libguile/socket.h
libguile/sort.c
libguile/sort.h
libguile/srcprop.c
libguile/srcprop.h
libguile/stackchk.c
libguile/stackchk.h
libguile/stacks.c
libguile/stacks.h
libguile/stime.c
libguile/stime.h
libguile/strerror.c
libguile/strings.c
libguile/strings.h
libguile/strop.c
libguile/strop.h
libguile/strorder.c
libguile/strorder.h
libguile/strports.c
libguile/strports.h
libguile/struct.c
libguile/struct.h
libguile/symbols.c
libguile/symbols.h
libguile/tag.c
libguile/tag.h
libguile/tags.h
libguile/threads.c
libguile/threads.h
libguile/throw.c
libguile/throw.h
libguile/unif.c
libguile/unif.h
libguile/validate.h
libguile/variable.c
libguile/variable.h
libguile/vectors.c
libguile/vectors.h
libguile/version.c
libguile/version.h
libguile/vports.c
libguile/vports.h
libguile/weaks.c
libguile/weaks.h

index 12d87fa..15152e3 100644 (file)
@@ -1,3 +1,8 @@
+2000-03-19  Michael Livshin  <mlivshin@bigfoot.com>
+
+       * *.[hc]: add Emacs magic at the end of file, to ensure GNU
+       indentation style.
+
 2000-03-12  Mikael Djurfeldt  <mdj@thalamus.nada.kth.se>
 
        * readline.c (current_input_getc): Don't pass int values through
index 9480b3d..b74abe4 100644 (file)
@@ -523,3 +523,9 @@ scm_init_readline ()
 }
 
 #endif 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 4378d01..ccc0e80 100644 (file)
@@ -44,3 +44,9 @@ void rl_free_line_state ();
 #endif
 
 #endif
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index db56eaf..01e6a4c 100644 (file)
@@ -1,3 +1,8 @@
+2000-03-19  Michael Livshin  <mlivshin@bigfoot.com>
+
+       * *.[hc]: add Emacs magic at the end of file, to ensure GNU
+       indentation style.
+
 2000-03-19  Mikael Djurfeldt  <mdj@thalamus.nada.kth.se>
 
        * threads.h: Added #include "libguile/throw.h".  (Thanks to
index 889572b..a8e0308 100644 (file)
@@ -547,3 +547,9 @@ extern struct errdesc scm_errmsgs[];
 \f
 
 #endif  /* __SCMH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 1abeed7..6ed63c0 100644 (file)
 
 #endif  /* _SCMH */
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 17b92a1..4e11781 100644 (file)
@@ -394,3 +394,9 @@ scm_init_alist ()
 #include "alist.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index f04610a..0d6de15 100644 (file)
@@ -67,3 +67,9 @@ extern SCM scm_assoc_remove_x (SCM alist, SCM key);
 extern void scm_init_alist (void);
 
 #endif  /* ALISTH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 55e2a86..1f9b29d 100644 (file)
@@ -492,3 +492,9 @@ i00afunc (long address)
 
 #endif /* no alloca */
 #endif /* not GCC version 2 */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 7decd48..efab098 100644 (file)
@@ -130,3 +130,9 @@ scm_init_arbiters ()
                                               scm_markcdr, NULL, prinarb, NULL);
 #include "arbiters.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index d7a0cca..8da0a0b 100644 (file)
@@ -54,3 +54,9 @@ extern SCM scm_release_arbiter (SCM arb);
 extern void scm_init_arbiters (void);
 
 #endif  /* ARBITERSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 6a31a09..39d6f62 100644 (file)
@@ -474,3 +474,9 @@ scm_init_async ()
 
 #include "async.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 1b2981f..b1be782 100644 (file)
@@ -82,3 +82,9 @@ extern SCM scm_mask_signals (void);
 extern void scm_init_async (void);
 
 #endif  /* ASYNCH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 16b6a47..f3927d5 100644 (file)
@@ -642,3 +642,9 @@ scm_init_backtrace ()
 
 #include "backtrace.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index af9f137..44012f6 100644 (file)
@@ -63,3 +63,9 @@ SCM scm_set_print_params_x (SCM params);
 void scm_init_backtrace (void);
 
 #endif /* BACKTRACEH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 7b4267b..a235345 100644 (file)
@@ -79,3 +79,9 @@ scm_init_boolean ()
 #include "boolean.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index fe21848..8408a96 100644 (file)
@@ -73,3 +73,9 @@ extern SCM scm_boolean_p (SCM obj);
 extern void scm_init_boolean (void);
 
 #endif  /* BOOLEANH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index bfa96ef..a7d8d19 100644 (file)
@@ -400,3 +400,9 @@ scm_init_chars ()
 #include "chars.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 1cf0f01..45850fa 100644 (file)
@@ -92,3 +92,9 @@ extern int scm_downcase (unsigned int c);
 extern void scm_init_chars (void);
 
 #endif  /* SCM_CHARSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 6c7a537..08248ff 100644 (file)
@@ -208,3 +208,9 @@ scm_init_continuations ()
 #include "continuations.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index e1b494c..b299945 100644 (file)
@@ -76,3 +76,9 @@ extern SCM scm_call_continuation (SCM cont, SCM val);
 extern void scm_init_continuations (void);
 
 #endif  /* CONTINUATIONSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index e163110..30516c3 100644 (file)
@@ -283,3 +283,9 @@ do { \
 #define SCM_SET_THREAD_LOCAL_DATA(ptr) (coop_global_curr->data = (ptr))
 
 #endif /* COOP_DEFSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 7d4b735..cf28fc4 100644 (file)
@@ -467,3 +467,9 @@ scm_signal_condition_variable (SCM c)
   coop_condition_variable_signal (SCM_CONDVAR_DATA (c));
   return SCM_BOOL_T;
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 435fb6b..5dd0fcb 100644 (file)
@@ -122,3 +122,9 @@ extern coop_q_t coop_global_allq;   /* A queue of all threads. */
 extern coop_t *coop_global_curr;               /* Currently-executing thread. */
 
 #endif /* COOP_THREADSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index f676ea0..5d9ae5d 100644 (file)
@@ -40,7 +40,7 @@
  * If you do not wish that, delete this exception notice.  */
 \f
 
-/* $Id: coop.c,v 1.18 2000-03-12 01:48:04 mdj Exp $ */
+/* $Id: coop.c,v 1.19 2000-03-19 19:01:10 cmm Exp $ */
 
 /* Cooperative thread library, based on QuickThreads */
 
@@ -739,3 +739,9 @@ scm_thread_usleep (unsigned long usec)
 }
 
 #endif /* GUILE_ISELECT */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 8ee25ba..32556a3 100644 (file)
@@ -1,3 +1,9 @@
 /* this file is processed by gcc with special options to extract
    a list of errno codes.  */
 #include <errno.h>
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index eb4ed96..e740ba5 100644 (file)
@@ -1,3 +1,9 @@
 /* this file is processed by gcc with special options to extract
    a list of signal numbers.  */
 #include <signal.h>
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index ad32953..f9001df 100644 (file)
@@ -642,3 +642,9 @@ scm_init_debug ()
 
 #include "debug.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 685800c..bae78b4 100644 (file)
@@ -216,3 +216,9 @@ extern SCM scm_debug_hang (SCM obj);
 #endif /*GUILE_DEBUG*/
 
 #endif /* DEBUGH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index c3f2d2b..69f2050 100644 (file)
@@ -561,3 +561,9 @@ scm_init_dynamic_linking ()
 #include "dynl.x"
   kw_global = scm_make_keyword_from_dash_symbol (sym_global);
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index a271a3d..69b2ae8 100644 (file)
@@ -61,3 +61,9 @@ SCM scm_dynamic_args_call (SCM symb, SCM dobj, SCM args);
 void scm_init_dynamic_linking (void);
 
 #endif  /* LIBGUILE_DYNL_H */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 3816a98..304ba77 100644 (file)
@@ -273,3 +273,9 @@ scm_init_dynwind ()
                                          NULL, scm_free0, printguards, NULL);
 #include "dynwind.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 247f24d..80251c9 100644 (file)
@@ -64,3 +64,9 @@ extern SCM scm_wind_chain (void);
 #endif /*GUILE_DEBUG*/
 
 #endif  /* DYNWINDH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 1273a76..73e5f1f 100644 (file)
@@ -207,3 +207,9 @@ scm_init_eq ()
 #include "eq.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 82977c0..f2c6616 100644 (file)
@@ -53,3 +53,9 @@ extern SCM scm_equal_p (SCM x, SCM y);
 extern void scm_init_eq (void);
 
 #endif  /* EQH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 07b6d89..239bf3b 100644 (file)
@@ -319,3 +319,9 @@ scm_init_error ()
 #include "error.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 11924dc..ac2a8d4 100644 (file)
@@ -87,3 +87,9 @@ extern SCM scm_wta (SCM arg, const char *pos, const char *s_subr);
 extern void scm_init_error (void);
 
 #endif  /* ERRORH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 590ab13..f99a80e 100644 (file)
@@ -3894,3 +3894,9 @@ scm_init_eval ()
 }
 
 #endif /* !DEVAL */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index cc1ecff..4d5ef02 100644 (file)
@@ -227,3 +227,9 @@ extern SCM scm_eval_x (SCM obj);
 extern void scm_init_eval (void);
 
 #endif  /* EVALH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index c719670..447f6f9 100644 (file)
@@ -160,3 +160,9 @@ scm_init_evalext ()
   scm_make_synt (scm_s_set_x, scm_makmmacro, scm_m_generalized_set_x);
 #include "evalext.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index c1cd7b4..cb09736 100644 (file)
@@ -54,3 +54,9 @@ extern SCM scm_m_undefine (SCM x, SCM env);
 extern void scm_init_evalext (void);
 
 #endif  /* EVALEXTH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index a7c6556..0e7daef 100644 (file)
@@ -350,3 +350,9 @@ scm_init_feature()
 
 #include "feature.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 5161db9..125e883 100644 (file)
@@ -76,3 +76,9 @@ extern SCM scm_hook_to_list (SCM hook);
 extern void scm_init_feature (void);
 
 #endif  /* FEATUREH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index ee8516a..1850389 100644 (file)
@@ -1464,3 +1464,9 @@ scm_sysintern ("FD_CLOEXEC", scm_long2num (FD_CLOEXEC));
 
 #include "filesys.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 6d3ea1f..7573b63 100644 (file)
@@ -89,3 +89,9 @@ extern SCM scm_basename (SCM filename, SCM suffix);
 extern void scm_init_filesys (void);
 
 #endif  /* FILESYSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index fa3d926..752ef9c 100644 (file)
@@ -262,3 +262,9 @@ scm_init_fluids ()
                                            NULL, NULL, print_fluid, NULL);
 #include "fluids.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index d2f3d5d..0058cfd 100644 (file)
@@ -107,3 +107,9 @@ void scm_swap_fluids_reverse (SCM fluids, SCM vals);
 void scm_init_fluids (void);
 
 #endif /* !FLUIDSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 01ae555..36f37fa 100644 (file)
@@ -735,3 +735,9 @@ scm_init_fports ()
   scm_sysintern ("_IOLBF", SCM_MAKINUM (_IOLBF));
   scm_sysintern ("_IONBF", SCM_MAKINUM (_IONBF));
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index d490f3b..455c293 100644 (file)
@@ -79,3 +79,9 @@ extern SCM scm_fdes_to_port (int fdes, char *mode, SCM name);
 extern void scm_init_fports (void);
 
 #endif  /* FPORTSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
dissimilarity index 100%
index a012b1e..e69de29 100644 (file)
@@ -1,169 +0,0 @@
-/*     Copyright (C) 1995, 1996 Free Software Foundation, Inc.
- * 
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- * 
- * This program 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 General Public License for more details.
- * 
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.  If not, write to
- * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307 USA
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of GUILE.
- *
- * The exception is that, if you link the GUILE library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the GUILE library code into it.
- *
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
- *
- * This exception applies only to the code released by the
- * Free Software Foundation under the name GUILE.  If you copy
- * code from other Free Software Foundation releases into a copy of
- * GUILE, as the General Public License permits, the exception does
- * not apply to the code that you add in this way.  To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
- *
- * If you write modifications of your own for GUILE, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.  */
-
-/* Software engineering face-lift by Greg J. Badros, 11-Dec-1999,
-   gjb@cs.washington.edu, http://www.cs.washington.edu/homes/gjb */
-\f
-
-#ifndef SCM_FSU_PTHREADS_H
-#define SCM_FSU_PTHREADS_H
-
-#define PTHREAD_KERNEL
-#include <pthread.h>
-
-/* Identify where the stack pointer can be found in a jmpbuf.
- */
-
-#if defined(__sparc_setjmp_h)
-#  define THREAD_SP machdep_data.machdep_state[2]
-#endif
-
-#if defined(linux)
-#  define THREAD_SP machdep_data.machdep_state[0].__sp
-#endif
-
-#if defined(sgi)
-#  define THREAD_SP machdep_data.machdep_state[JB_SP]
-#endif
-
-/*  ...define THREAD_SP for your architecture here...
- */
-
-#if !defined(THREAD_SP)
---> where is your stack pointer?
-#endif
-
-\f
-
-#define PTHREAD_MAX_PRIORITY 64
-
-\f
-
-/* Boost the priority of this thread so that it is the only
-   one running. PTHREAD_MAX_PRIORITY is reserved for this 
-   purpose */
-
-#define SCM_THREAD_CRITICAL_SECTION_START \
-  struct sched_param param; \
-  int previous_prio; \
-  int policy; \
-  pthread_getschedparam(pthread_self(), &policy, &param); \
-  previous_prio = param.prio; \
-  param.prio = PTHREAD_MAX_PRIORITY; \
-  pthread_setschedparam(pthread_self(), policy, &param)
-
-#define SCM_THREAD_CRITICAL_SECTION_END \
-  param.prio = previous_prio; \
-  pthread_setschedparam(pthread_self(), policy, &param)
-
-#define SCM_THREAD_INITIALIZE_STORAGE \
-  scm_threads_init_mit_pthreads ()
-
-\f
-
-#define SCM_NO_CRITICAL_SECTION_OWNER 0
-
-#define SCM_DEFER_INTS \
-do { \
-  SCM_IASSERT(scm_critical_section_owner != pthread_self()); \
-  pthread_mutex_lock(&scm_critical_section_mutex); \
-  scm_critical_section_owner = pthread_self(); \
-  scm_ints_disabled = 1; \
-} while (0)
-
-#define SCM_ALLOW_INTS \
-do { \
-  SCM_IASSERT(scm_critical_section_owner == pthread_self()); \
-  scm_ints_disabled = 0; \
-  scm_critical_section_owner = SCM_NO_CRITICAL_SECTION_OWNER; \
-  pthread_mutex_unlock(&scm_critical_section_mutex); \
-  SCM_CHECK_INTS; \
-} while (0)
-
-#define SCM_REDEFER_INTS \
-do { \
-  if ((scm_critical_section_owner != pthread_self()) || \
-      (scm_critical_section_owner == SCM_NO_CRITICAL_SECTION_OWNER)) \
-    { \
-      pthread_mutex_lock(&scm_critical_section_mutex); \
-      scm_critical_section_owner = pthread_self(); \
-    } \
-  ++scm_ints_disabled; \
-} while (0)
-
-#define SCM_REALLOW_INTS \
-do { \
-  SCM_IASSERT(scm_critical_section_owner == pthread_self()); \
-  --scm_ints_disabled; \
-  if (!scm_ints_disabled) \
-    { \
-      scm_critical_section_owner = SCM_NO_CRITICAL_SECTION_OWNER; \
-      pthread_mutex_unlock(&scm_critical_section_mutex); \
-      SCM_CHECK_INTS; \
-    } \
-} while (0)
-
-*fixme*
-#define scm_root ((scm_root_state *) pthread_self()->prots)
-#define scm_set_root(new_root) (pthread_self()->prots = (new_root))
-
-\f
-
-void scm_threads_init_mit_pthreads ();
-
-typedef struct QUEUE {
-  struct QUEUE *flink, *blink;
-} queue;
-
-extern pthread_mutex_t scm_critical_section_mutex;
-extern pthread_t scm_critical_section_owner;
-
-/* Key to thread specific data */
-extern pthread_key_t info_key;
-
-struct scm_pthread_create_info_type
-{
-  SCM thunk;
-  SCM error;
-  SCM *prots;
-} scm_pthread_create_info;
-
-#endif
index 806f19a..cccb07a 100644 (file)
@@ -2600,3 +2600,9 @@ scm_init_gc ()
 {
 #include "gc.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index cb64d7d..c1e82db 100644 (file)
@@ -139,3 +139,9 @@ extern int scm_init_storage (scm_sizet init_heap_size,
 #endif
 extern void scm_init_gc (void);
 #endif  /* GCH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 2fcbf95..e06c706 100644 (file)
@@ -124,3 +124,9 @@ extern int gdb_print (GDB_TYPE value);
 extern int gdb_binding (GDB_TYPE name, GDB_TYPE value);
 
 #endif /* GDB_INTERFACE_H */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 52df23c..435afb5 100644 (file)
@@ -326,3 +326,9 @@ scm_init_gdbint ()
 
   tok_buf = scm_permanent_object (scm_makstr (30L, 0));
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 65f6ebf..c0983a5 100644 (file)
@@ -56,3 +56,9 @@ extern int scm_print_carefully_p;
 extern void scm_init_gdbint (void);
 
 #endif /* GDBINTH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 32e1d27..389174d 100644 (file)
@@ -246,3 +246,9 @@ void gh_newline (void);
 #endif
 
 #endif /* __GH_H */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 39d467c..ab837ef 100644 (file)
@@ -692,3 +692,9 @@ gh_module_lookup (SCM vec, char *sname)
   else
     return SCM_UNDEFINED;
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 468434a..007e6a0 100644 (file)
@@ -119,3 +119,9 @@ gh_eval_file_with_standard_handler (const char *scheme_code)
 {
   return gh_eval_file_with_catch (scheme_code, gh_standard_handler);
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 1797985..8400334 100644 (file)
@@ -167,3 +167,9 @@ gh_call3 (SCM proc, SCM arg1, SCM arg2, SCM arg3)
 {
   return scm_apply (proc, arg1, scm_cons2 (arg2, arg3, scm_listofnull));
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 8661f36..5b373b8 100644 (file)
@@ -103,3 +103,9 @@ gh_standard_handler (void *data, SCM tag, SCM throw_args)
 
   return SCM_BOOL_F;
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 9e19f4d..28d8103 100644 (file)
@@ -61,3 +61,9 @@ gh_newline ()
 {
   scm_newline (scm_current_output_port ());
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 044176d..5d85e55 100644 (file)
@@ -187,3 +187,9 @@ gh_set_cdr_x(SCM pair, SCM value)
 {
   return scm_set_cdr_x(pair, value);
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 6d06fdb..f7f2ad9 100644 (file)
@@ -135,3 +135,9 @@ gh_null_p(SCM l)
 {
   return (SCM_NFALSEP(scm_null_p(l)));
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 9a2a71c..9b4e37e 100644 (file)
@@ -245,3 +245,9 @@ c_vector_test (SCM s_length)
 
   return xvec;
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index ed9b57e..7fd3939 100644 (file)
@@ -163,3 +163,9 @@ c_vector_test (SCM s_length)
 
   return xvec;
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 8d2a107..db41d20 100644 (file)
@@ -212,3 +212,9 @@ scm_init_gsubr()
   scm_make_gsubr("gsubr-2-1-l", 2, 1, 1, gsubr_21l); /* example */
 #endif
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 2a0c47d..bf08f54 100644 (file)
@@ -71,3 +71,9 @@ extern SCM scm_gsubr_apply (SCM args);
 extern void scm_init_gsubr (void);
 
 #endif  /* GSUBRH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 4cc92c2..563ac0a 100644 (file)
@@ -276,3 +276,9 @@ scm_init_guardian()
 
 #include "guardians.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 15345cc..eb8eda4 100644 (file)
@@ -59,3 +59,9 @@ SCM scm_get_one_zombie (SCM guardian);
 void scm_init_guardian (void);
 
 #endif /* !SCM_GUARDIANH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 8684423..2439be0 100644 (file)
@@ -76,3 +76,9 @@ main (int argc, char **argv)
   scm_boot_guile (argc, argv, inner_main, 0);
   return 0; /* never reached */
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index aee3144..4883aba 100644 (file)
@@ -247,3 +247,9 @@ scm_init_hash ()
 #include "hash.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 0ad0f3a..aa97f7e 100644 (file)
@@ -58,3 +58,9 @@ extern SCM scm_hash (SCM obj, SCM n);
 extern void scm_init_hash (void);
 
 #endif  /* HASHH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index c78718f..f78d0b7 100644 (file)
@@ -565,3 +565,9 @@ scm_init_hashtab ()
 {
 #include "hashtab.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 46fd915..538bf6e 100644 (file)
@@ -84,3 +84,9 @@ extern SCM scm_hash_fold (SCM proc, SCM init, SCM hash);
 extern void scm_init_hashtab (void);
 
 #endif  /* HASHTABH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 82b4e88..af203ab 100644 (file)
@@ -160,3 +160,9 @@ inet_aton(const char *cp_arg, struct in_addr *addr)
                addr->s_addr = htonl(val);
        return (1);
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index eb59367..1553563 100644 (file)
@@ -620,3 +620,9 @@ invoke_main_func (void *body_data)
   /* never reached */
   return SCM_UNDEFINED;
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 16e2e2b..412a47e 100644 (file)
@@ -56,3 +56,9 @@ extern void scm_boot_guile (int argc, char **argv,
 extern void scm_load_startup_files (void);
 
 #endif  /* INITH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 99aeef0..a529169 100644 (file)
@@ -533,3 +533,9 @@ scm_init_ioext ()
 #include "ioext.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 4e1b38e..95b2d1e 100644 (file)
@@ -63,3 +63,9 @@ extern SCM scm_fdes_to_ports (SCM fd);
 extern void scm_init_ioext (void);
 
 #endif  /* IOEXTH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 6874da8..585b90f 100644 (file)
@@ -693,3 +693,9 @@ scm_internal_select (int nfds,
   return coop_global_curr->retval;
 #endif /* GUILE_ISELECT */
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index ebf3327..eb87927 100644 (file)
@@ -100,3 +100,9 @@ extern void scm_init_iselect (void);
 #endif /* GUILE_ISELECT */
 
 #endif
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 6d032fc..d722e2d 100644 (file)
@@ -141,3 +141,9 @@ scm_init_keywords ()
 #include "keywords.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 6270125..0eda0e8 100644 (file)
@@ -65,3 +65,9 @@ extern SCM scm_keyword_dash_symbol (SCM keyword);
 extern void scm_init_keywords (void);
 
 #endif  /* KEYWORDSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
dissimilarity index 100%
index 763142d..e69de29 100644 (file)
@@ -1,53 +0,0 @@
-/* classes: h_files */
-
-#ifndef KWH
-#define KWH
-/*     Copyright (C) 1995,1996,1999 Free Software Foundation, Inc.
- * 
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- * 
- * This program 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 General Public License for more details.
- * 
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.  If not, write to
- * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307 USA
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of GUILE.
- *
- * The exception is that, if you link the GUILE library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the GUILE library code into it.
- *
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
- *
- * This exception applies only to the code released by the
- * Free Software Foundation under the name GUILE.  If you copy
- * code from other Free Software Foundation releases into a copy of
- * GUILE, as the General Public License permits, the exception does
- * not apply to the code that you add in this way.  To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
- *
- * If you write modifications of your own for GUILE, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.  */
-\f
-
-#include "libguile/keywords.h"
-
-\f
-
-extern int scm_tc16_kw;
-
-#endif  /* KWH */
index 21cb6fb..21bd3ff 100644 (file)
@@ -153,3 +153,9 @@ scm_init_lang ()
 #include "lang.x"
   scm_make_synt ("nil-while", scm_makacro, scm_m_while);
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index f0d6bf7..4062c77 100644 (file)
@@ -69,3 +69,9 @@ extern SCM scm_nil_eq (SCM x, SCM y);
 extern void scm_init_lang (void);
 
 #endif  /* PAIRSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
dissimilarity index 100%
index c7cd9df..e69de29 100644 (file)
@@ -1,142 +0,0 @@
-#ifndef LIBGUILEH
-#define LIBGUILEH
-
-/*     Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
- * 
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- * 
- * This program 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 General Public License for more details.
- * 
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.  If not, write to
- * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307 USA
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of GUILE.
- *
- * The exception is that, if you link the GUILE library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the GUILE library code into it.
- *
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
- *
- * This exception applies only to the code released by the
- * Free Software Foundation under the name GUILE.  If you copy
- * code from other Free Software Foundation releases into a copy of
- * GUILE, as the General Public License permits, the exception does
- * not apply to the code that you add in this way.  To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
- *
- * If you write modifications of your own for GUILE, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.  */
-\f
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include "libguile/__scm.h"
-
-/* These files define typedefs used by later files, so they need to
-   come first.  */
-#include "libguile/print.h"
-#include "libguile/smob.h"
-#include "libguile/pairs.h"
-
-#include "libguile/alist.h"
-#include "libguile/arbiters.h"
-#include "libguile/async.h"
-#include "libguile/boolean.h"
-#include "libguile/chars.h"
-#include "libguile/continuations.h"
-#ifdef DEBUG_EXTENSIONS
-#include "libguile/backtrace.h"
-#include "libguile/debug.h"
-#include "libguile/stacks.h"
-#endif
-#include "libguile/dynl.h"
-#include "libguile/dynwind.h"
-#include "libguile/eq.h"
-#include "libguile/error.h"
-#include "libguile/eval.h"
-#include "libguile/evalext.h"
-#include "libguile/feature.h"
-#include "libguile/filesys.h"
-#include "libguile/fluids.h"
-#include "libguile/fports.h"
-#include "libguile/gc.h"
-#include "libguile/gdbint.h"
-#include "libguile/gsubr.h"
-#include "libguile/guardians.h"
-#include "libguile/hash.h"
-#include "libguile/hashtab.h"
-#include "libguile/init.h"
-#include "libguile/ioext.h"
-#include "libguile/keywords.h"
-#include "libguile/kw.h"
-#include "libguile/list.h"
-#include "libguile/load.h"
-#include "libguile/macros.h"
-#include "libguile/mallocs.h"
-#include "libguile/modules.h"
-#include "libguile/net_db.h"
-#include "libguile/numbers.h"
-#include "libguile/objects.h"
-#include "libguile/objprop.h"
-#include "libguile/options.h"
-#include "libguile/ports.h"
-#include "libguile/posix.h"
-#include "libguile/procprop.h"
-#include "libguile/procs.h"
-#include "libguile/ramap.h"
-#include "libguile/random.h"
-#include "libguile/read.h"
-#include "libguile/root.h"
-#include "libguile/scmsigs.h"
-#include "libguile/script.h"
-#include "libguile/simpos.h"
-#include "libguile/snarf.h"
-#include "libguile/socket.h"
-#include "libguile/sort.h"
-#include "libguile/srcprop.h"
-#include "libguile/stackchk.h"
-#include "libguile/stime.h"
-#include "libguile/strings.h"
-#include "libguile/strop.h"
-#include "libguile/strorder.h"
-#include "libguile/strports.h"
-#include "libguile/struct.h"
-#include "libguile/symbols.h"
-#include "libguile/tag.h"
-#include "libguile/tags.h"
-#include "libguile/throw.h"
-#include "libguile/unif.h"
-#include "libguile/validate.h"
-#include "libguile/variable.h"
-#include "libguile/vectors.h"
-#include "libguile/version.h"
-#include "libguile/vports.h"
-#include "libguile/weaks.h"
-#ifdef USE_THREADS
-#include "libguile/threads.h"
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-
-\f
-
-#endif  /* LIBGUILEH */
index e9e30ec..c569599 100644 (file)
@@ -784,3 +784,9 @@ scm_init_list ()
 {
 #include "list.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index d9b3dea..606cf49 100644 (file)
@@ -102,3 +102,9 @@ extern SCM scm_delete1_x (SCM item, SCM lst);
 extern void scm_init_list (void);
 
 #endif  /* LISTH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index f435560..450badd 100644 (file)
@@ -510,3 +510,9 @@ scm_init_load ()
 
 #include "load.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 1800f2d..73c8ee9 100644 (file)
@@ -60,3 +60,9 @@ extern SCM scm_read_and_eval_x (SCM port);
 extern void scm_init_load (void);
 
 #endif  /* LOADH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index d3fd7b4..86dea14 100644 (file)
@@ -183,3 +183,9 @@ scm_init_macros ()
                                            scm_markcdr, NULL, NULL, NULL);
 #include "macros.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index beef5aa..3e8cd07 100644 (file)
@@ -65,3 +65,9 @@ extern SCM scm_make_synt (const char *name,
 extern void scm_init_macros (void);
 
 #endif /* MACROSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 8cf331a..00ef569 100644 (file)
@@ -89,3 +89,9 @@ scm_init_mallocs ()
   scm_tc16_malloc = scm_make_smob_type_mfpe ("malloc", 0,
                                             NULL, fmalloc, prinmalloc, NULL);
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 99504c8..1f3240b 100644 (file)
@@ -58,3 +58,9 @@ extern SCM scm_malloc_obj (scm_sizet n);
 extern void scm_init_mallocs (void);
 
 #endif  /* MALLOCSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 5efc30b..adc7bd7 100644 (file)
@@ -22,3 +22,9 @@ memmove (PTR s1, CPTR s2, size_t n)
   bcopy (s2, s1, n);
   return s1;
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
dissimilarity index 100%
index 7a8d4e7..e69de29 100644 (file)
@@ -1,400 +0,0 @@
-/*     Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
- * 
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- * 
- * This program 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 General Public License for more details.
- * 
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.  If not, write to
- * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307 USA
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of GUILE.
- *
- * The exception is that, if you link the GUILE library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the GUILE library code into it.
- *
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
- *
- * This exception applies only to the code released by the
- * Free Software Foundation under the name GUILE.  If you copy
- * code from other Free Software Foundation releases into a copy of
- * GUILE, as the General Public License permits, the exception does
- * not apply to the code that you add in this way.  To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
- *
- * If you write modifications of your own for GUILE, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.  */
-\f
-
-typedef struct scm_pthread_info {
-  queue q;                  /* the dequeue on which this structure exists */
-                            /* reqired to be the first element */
-  pthread_t thread;         /* the corresponding thread structure */
-  void *stack_top;          /* the highest address in this thread's stack */
-  scm_root_state *root;      /* root for this thread */
-} scm_pthread_info;
-
-pthread_mutex_t scm_critical_section_mutex;
-pthread_t scm_critical_section_owner;
-
-static queue infos = { &infos, &infos };  /* the dequeue of info structures */
-
-/* Key to thread specific data */
-pthread_key_t info_key;
-
-size_t
-scm_threads_free_thread (SCM t)
-{
-  scm_must_free (SCM_THREAD_DATA (t));
-  return sizeof (pthread_t);
-}
-
-size_t
-scm_threads_free_mutex (SCM m)
-{
-  pthread_mutex_destroy (SCM_MUTEX_DATA (m));
-  scm_must_free (SCM_MUTEX_DATA (m));
-  return sizeof (pthread_mutex_t);
-}
-
-size_t
-scm_threads_free_condvar (SCM c)
-{
-  pthread_cond_destroy (SCM_CONDVAR_DATA (c));
-  scm_must_free (SCM_CONDVAR_DATA (c));
-  return sizeof (pthread_cond_t);
-}
-
-/* cleanup for info structure
- */
-static void
-scm_pthread_delete_info (void *ptr)
-{
-  scm_pthread_info *info = (scm_pthread_info *) ptr;
-  info->q.blink->flink = info->q.flink;
-  info->q.flink->blink = info->q.blink;
-  scm_must_free ((char *) info);
-}
-
-void
-scm_threads_init (SCM_STACKITEM *i)
-{
-  /*
-   * each info structure is made thread-specific, so that the cleanup
-   * mechanism can be used to reclaim the space in a timely fashion.
-   */
-  pthread_key_create (&info_key, scm_pthread_delete_info);
-
-  /* initialize various mutex variables */
-  pthread_mutex_init (&scm_critical_section_mutex, NULL);
-
-  /*
-   * create an info structure for the initial thread and push it onto
-   * the info dequeue
-   */
-  {
-    scm_pthread_info *info;
-    info = (scm_pthread_info *) scm_must_malloc (sizeof (scm_pthread_info),
-                                                "threads_init");
-    infos.flink = infos.blink = &info->q;
-    info->q.flink = info->q.blink = &infos;
-    info->thread = pthread_initial;
-    info->stack_top = (void *) i;
-    pthread_setspecific(info_key, info);
-  }
-  /* The root state pointer gets initialized in init.c. */
-}
-
-/* given some thread, find the corresponding info
- */
-static scm_pthread_info *pthreads_find_info (pthread_t target)
-{
-  queue *ptr = infos.flink;
-
-  while (ptr != &infos)
-    {
-      scm_pthread_info *info = (scm_pthread_info *) ptr;
-
-      if (info->thread == target)
-        {
-          return (info);
-        }
-      ptr = ptr->flink;
-    }
-}
-
-void
-scm_threads_mark_stacks ()
-{
-  scm_pthread_info *info;
-  pthread_t thread;
-  int j;
-  
-  for (info = (scm_pthread_info *) infos.flink;
-       info != (scm_pthread_info *) &infos;
-       info = (scm_pthread_info *) info->q.flink)
-    {
-      thread = info->thread;
-      if (thread == pthread_run)
-       {
-         /* Active thread */
-         /* stack_len is long rather than sizet in order to guarantee
-            that &stack_len is long aligned */
-#ifdef STACK_GROWS_UP
-         long stack_len = ((SCM_STACKITEM *) (&thread) -
-                           (SCM_STACKITEM *) info->stack_top);
-         
-         /* Protect from the C stack.  This must be the first marking
-          * done because it provides information about what objects
-          * are "in-use" by the C code.   "in-use" objects are  those
-          * for which the values from SCM_LENGTH and SCM_CHARS must remain
-          * usable.   This requirement is stricter than a liveness
-          * requirement -- in particular, it constrains the implementation
-          * of scm_resizuve.
-          */
-         SCM_FLUSH_REGISTER_WINDOWS;
-         /* This assumes that all registers are saved into the jmp_buf */
-         setjmp (scm_save_regs_gc_mark);
-         scm_mark_locations ((SCM_STACKITEM *) scm_save_regs_gc_mark,
-                             ((scm_sizet) sizeof scm_save_regs_gc_mark
-                              / sizeof (SCM_STACKITEM)));
-         
-         scm_mark_locations (((size_t) info->stack_top,
-                              (sizet) stack_len));
-#else
-         long stack_len = ((SCM_STACKITEM *) info->stack_top -
-                           (SCM_STACKITEM *) (&thread));
-         
-         /* Protect from the C stack.  This must be the first marking
-          * done because it provides information about what objects
-          * are "in-use" by the C code.   "in-use" objects are  those
-          * for which the values from SCM_LENGTH and SCM_CHARS must remain
-          * usable.   This requirement is stricter than a liveness
-          * requirement -- in particular, it constrains the implementation
-          * of scm_resizuve.
-          */
-         SCM_FLUSH_REGISTER_WINDOWS;
-         /* This assumes that all registers are saved into the jmp_buf */
-         setjmp (scm_save_regs_gc_mark);
-         scm_mark_locations ((SCM_STACKITEM *) scm_save_regs_gc_mark,
-                             ((scm_sizet) sizeof scm_save_regs_gc_mark
-                              / sizeof (SCM_STACKITEM)));
-         
-         scm_mark_locations ((SCM_STACKITEM *) &thread,
-                             stack_len);
-#endif
-       }
-      else
-       {
-         /* Suspended thread */
-#ifdef STACK_GROWS_UP
-         long stack_len = ((SCM_STACKITEM *) (thread->THREAD_SP) -
-                           (SCM_STACKITEM *) info->stack_top);
-             
-         scm_mark_locations ((size_t)info->stack_top,
-                             (sizet) stack_len);
-#else
-         long stack_len = ((SCM_STACKITEM *) info->stack_top -
-                           (SCM_STACKITEM *) (thread->THREAD_SP));
-             
-         scm_mark_locations ((SCM_STACKITEM *) thread->machdep_data.machdep_state,
-                             ((scm_sizet) sizeof (*thread->machdep_data.machdep_state)
-                              / sizeof (SCM_STACKITEM)));
-         scm_mark_locations ((SCM_STACKITEM *) (size_t) thread->THREAD_SP,
-                             stack_len);
-#endif
-       }
-
-      /* Mark this thread's root */
-      scm_gc_mark (((scm_root_state *) info->root) -> handle);
-    }
-}
-
-void *
-launch_thread (void *p)
-{
-  /* The thread object will be GC protected by being a member of the
-     list given as argument to launch_thread.  It will be marked
-     during the conservative sweep of the stack. */
-  SCM args = (SCM) p;
-  pthread_attr_setcleanup (&pthread_self () -> attr,
-                          NULL,
-                          SCM_ROOT_STATE (SCM_CAR (args)));
-  scm_call_with_dynamic_root (SCM_CADDR (args), SCM_CADDDR (args));
-  return NULL;
-}
-
-SCM
-scm_call_with_new_thread (SCM argl)
-{
-  SCM thread;
-
-  /* Check arguments. */
-  {
-    register SCM args = argl;
-    SCM thunk, handler;
-    SCM_ASSERT (SCM_NIMP (args),
-               scm_makfrom0str (s_call_with_new_thread),
-               SCM_WNA, NULL);
-    thunk = SCM_CAR (args);
-    SCM_ASSERT (SCM_NFALSEP (scm_thunk_p (thunk)),
-               thunk,
-               SCM_ARG1,
-               s_call_with_new_thread);
-    args = SCM_CDR (args);
-    SCM_ASSERT (SCM_NIMP (args),
-               scm_makfrom0str (s_call_with_new_thread),
-               SCM_WNA, NULL);
-    handler = SCM_CAR (args);
-    SCM_ASSERT (SCM_NFALSEP (scm_procedure_p (handler)),
-               handler,
-               SCM_ARG2,
-               s_call_with_new_thread);
-    SCM_ASSERT (SCM_NULLP (SCM_CDR (args)),
-               scm_makfrom0str (s_call_with_new_thread),
-               SCM_WNA, NULL);
-  }
-
-  /* Make new thread. */
-  {
-    pthread_attr_t attr;
-    pthread_t t;
-    scm_pthread_info *info = 
-      (scm_pthread_info *) scm_must_malloc (sizeof (scm_pthread_info),
-                                           "pthread_info");
-    SCM root, old_winds;
-
-    /* Unwind wind chain. */
-    old_winds = scm_dynwinds;
-    scm_dowinds (SCM_EOL, scm_ilength (scm_root->dynwinds));
-
-    /* Allocate thread locals. */
-    root = scm_make_root (scm_root->handle);
-    /* Make thread. */
-    SCM_NEWCELL (thread);
-    SCM_DEFER_INTS;
-    SCM_SETCAR (thread, scm_tc16_thread);
-    argl = scm_cons2 (root, thread, argl);
-  
-    /* thread mustn't start until we've built the info struct */
-    pthread_kernel_lock++;
-
-    /* initialize and create the thread. */
-    pthread_attr_init (&attr);
-    pthread_attr_setschedpolicy (&attr, SCHED_RR);
-  
-    pthread_create (&t, &attr, launch_thread, (void *) argl);
-    pthread_attr_destroy (&attr);
-
-    /* push the info onto the dequeue */
-    info->q.flink = infos.flink;
-    info->q.blink = &infos;
-    infos.flink->blink = &info->q;
-    infos.flink = &info->q;
-    /* pthread_create filled in the initial SP -- profitons-en ! */
-    info->stack_top = (void *) (t->THREAD_SP);
-    info->thread = t;
-    info->root = SCM_ROOT_STATE (root);
-    SCM_SETCDR (thread, t);
-    SCM_ALLOW_INTS;
-    
-    /* we're now ready for the thread to begin */
-    pthread_kernel_lock--;
-
-    /* Return to old dynamic context. */
-    scm_dowinds (old_winds, - scm_ilength (old_winds));
-  }
-
-  return thread;
-}
-
-SCM
-scm_join_thread (SCM t)
-{
-  void *value;
-  pthread_join (SCM_THREAD_DATA (t), &value);
-  return SCM_BOOL_T;
-}
-
-SCM
-scm_yield ()
-{
-  pthread_yield ();
-  return SCM_BOOL_T;
-}
-
-SCM
-scm_make_mutex ()
-{
-  SCM m;
-  pthread_mutex_t *data = (pthread_mutex_t *) scm_must_malloc (sizeof (pthread_mutex_t), "mutex");
-  SCM_NEWSMOB (m,scm_tc16_mutex, data);
-  pthread_mutex_init (SCM_MUTEX_DATA (m), NULL);
-  return m;
-}
-
-SCM
-scm_lock_mutex (SCM m)
-{
-  SCM_ASSERT (SCM_MUTEXP (m), m, SCM_ARG1, s_lock_mutex);
-  pthread_mutex_lock (SCM_MUTEX_DATA (m));
-  return SCM_BOOL_T;
-}
-
-SCM
-scm_unlock_mutex (SCM m)
-{
-  SCM_ASSERT (SCM_MUTEXP (m), m, SCM_ARG1, s_unlock_mutex);
-  pthread_mutex_unlock (SCM_MUTEX_DATA (m));
-  return SCM_BOOL_T;
-}
-
-SCM
-scm_make_condition_variable ()
-{
-  SCM c;
-  pthread_cond_t *data = (pthread_cond_t *) scm_must_malloc (sizeof (pthread_cond_t), "condvar");
-  SCM_NEWSMOB (c, scm_tc16_condvar, data);
-  pthread_cond_init (SCM_CONDVAR_DATA (c), NULL);
-  return c;
-}
-
-SCM
-scm_wait_condition_variable (SCM c, SCM m)
-{
-  SCM_ASSERT (SCM_CONDVARP (c),
-             c,
-             SCM_ARG1,
-             s_wait_condition_variable);
-  SCM_ASSERT (SCM_MUTEXP (m),
-             m,
-             SCM_ARG2,
-             s_wait_condition_variable);
-  pthread_cond_wait (SCM_CONDVAR_DATA (m), SCM_MUTEX_DATA (c));
-  return SCM_BOOL_T;
-}
-
-SCM
-scm_signal_condition_variable (SCM c)
-{
-  SCM_ASSERT (SCM_CONDVARP (c),
-             c,
-             SCM_ARG1,
-             s_signal_condition_variable);
-  pthread_cond_signal (SCM_CONDVAR_DATA (c));
-  return SCM_BOOL_T;
-}
dissimilarity index 100%
index ecd21cd..e69de29 100644 (file)
@@ -1,190 +0,0 @@
-/* classes: h_files */
-
-#ifndef MIT_PTHREADSH
-#define MIT_PTHREADSH
-
-/*     Copyright (C) 1996 Free Software Foundation, Inc.
- * 
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- * 
- * This program 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 General Public License for more details.
- * 
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.  If not, write to
- * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307 USA
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of GUILE.
- *
- * The exception is that, if you link the GUILE library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the GUILE library code into it.
- *
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
- *
- * This exception applies only to the code released by the
- * Free Software Foundation under the name GUILE.  If you copy
- * code from other Free Software Foundation releases into a copy of
- * GUILE, as the General Public License permits, the exception does
- * not apply to the code that you add in this way.  To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
- *
- * If you write modifications of your own for GUILE, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.  */
-
-/* Software engineering face-lift by Greg J. Badros, 11-Dec-1999,
-   gjb@cs.washington.edu, http://www.cs.washington.edu/homes/gjb */
-\f
-
-#include "libguile/__scm.h"
-
-#define PTHREAD_KERNEL
-#include <pthread.h>
-
-/* Identify where the stack pointer can be found in a jmpbuf.
- */
-
-/* Solaris 2.4 */
-#if defined(__sparc_setjmp_h)
-#  define THREAD_SP machdep_data.machdep_state[2]
-#endif
-
-/* Solaris 2.5 */
-#if defined(__sparc)
-#ifndef THREAD_SP
-#  define THREAD_SP machdep_data.machdep_state[2]
-#endif
-#endif
-
-#if defined(linux)
-#  define THREAD_SP machdep_data.machdep_state[0].__sp
-#endif
-
-#if defined(sgi)
-#  define THREAD_SP machdep_data.machdep_state[JB_SP]
-#endif
-
-/*  ...define THREAD_SP for your architecture here...
- */
-
-#if !defined(THREAD_SP)
---> where is your stack pointer?
-#endif
-
-\f
-
-/* Boost the priority of this thread so that it is the only
-   one running. PTHREAD_MAX_PRIORITY is reserved for this 
-   purpose */
-
-#define SCM_THREAD_CRITICAL_SECTION_START \
-  struct sched_param param; \
-  int previous_prio; \
-  int policy; \
-  pthread_getschedparam(pthread_self(), &policy, &param); \
-  previous_prio = param.prio; \
-  param.prio = PTHREAD_MAX_PRIORITY; \
-  pthread_setschedparam(pthread_self(), policy, &param)
-
-#define SCM_THREAD_CRITICAL_SECTION_END \
-  param.prio = previous_prio; \
-  pthread_setschedparam(pthread_self(), policy, &param)
-
-\f
-
-#if 1
-
-#define SCM_NO_CRITICAL_SECTION_OWNER 0
-
-#define SCM_THREAD_DEFER pthread_kernel_lock++
-#define SCM_THREAD_ALLOW pthread_kernel_lock--
-
-#define SCM_THREAD_REDEFER pthread_kernel_lock++
-#define SCM_THREAD_REALLOW_1 pthread_kernel_lock--
-#define SCM_THREAD_REALLOW_2 \
-do { \
-  scm_critical_section_owner = SCM_NO_CRITICAL_SECTION_OWNER; \
-  pthread_mutex_unlock(&scm_critical_section_mutex); \
-} while (0)
-
-#else
-
-#define SCM_NO_CRITICAL_SECTION_OWNER 0
-
-#define SCM_THREAD_DEFER \
-do { \
-  pthread_mutex_lock (&scm_critical_section_mutex); \
-  scm_critical_section_owner = pthread_self(); \
-} while (0) 
-
-#define SCM_THREAD_ALLOW \
-do { \
-  scm_critical_section_owner = SCM_NO_CRITICAL_SECTION_OWNER; \
-  pthread_mutex_unlock (&scm_critical_section_mutex); \
-} while (0)
-
-#define SCM_THREAD_REDEFER \
-do { \
-  if ((scm_critical_section_owner != pthread_self()) || \
-      (scm_critical_section_owner == SCM_NO_CRITICAL_SECTION_OWNER)) \
-    { \
-      pthread_mutex_lock(&scm_critical_section_mutex); \
-      scm_critical_section_owner = pthread_self(); \
-    } \
-} while (0)
-
-#define SCM_THREAD_REALLOW_1
-#define SCM_THREAD_REALLOW_2 \
-do { \
-  scm_critical_section_owner = SCM_NO_CRITICAL_SECTION_OWNER; \
-  pthread_mutex_unlock (&scm_critical_section_mutex); \
-} while (0)
-
-#endif
-
-#define SCM_THREAD_SWITCHING_CODE
-
-#define SCM_THREAD_LOCAL_DATA (pthread_self () -> attr.arg_attr)
-#define SCM_SET_THREAD_LOCAL_DATA(new_root) \
-do { \
-  pthread_t t = pthread_self (); \
-  void *r = (new_root); \
-  pthread_attr_setcleanup (&t -> attr, NULL, r); \
-  pthreads_find_info (t) -> root = r; \
-} while (0)
-
-
-\f
-
-void scm_threads_init_mit_pthreads ();
-
-typedef struct QUEUE {
-  struct QUEUE *flink, *blink;
-} queue;
-
-extern pthread_mutex_t scm_critical_section_mutex;
-extern pthread_t scm_critical_section_owner;
-
-/* Key to thread specific data */
-extern pthread_key_t info_key;
-
-struct scm_pthread_create_info_type
-{
-  SCM thunk;
-  SCM error;
-  SCM *prots;
-} scm_pthread_create_info;
-
-#endif /* MIT_PTHREADSH */
index bcada07..f8d5b37 100644 (file)
@@ -198,3 +198,9 @@ scm_post_boot_init_modules ()
   resolve_module = scm_intern0 ("resolve-module");
   try_module_autoload = scm_intern0 ("try-module-autoload");
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 3983f06..7657af7 100644 (file)
@@ -63,3 +63,9 @@ extern void scm_init_modules (void);
 extern void scm_post_boot_init_modules (void);
 
 #endif  /* MODULESH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 797d33d..26e8b21 100644 (file)
@@ -570,3 +570,9 @@ scm_init_net_db ()
   scm_add_feature ("net-db");
 #include "net_db.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 7ea8620..9421808 100644 (file)
@@ -67,3 +67,9 @@ extern SCM scm_setserv (SCM arg);
 extern void scm_init_net_db (void);
 
 #endif  /* NETDBH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 8bd3709..2ec33c1 100644 (file)
@@ -4629,3 +4629,9 @@ scm_init_numbers ()
 #endif /* DBL_DIG */
 #include "numbers.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index b376446..da4b7a2 100644 (file)
@@ -389,3 +389,9 @@ extern unsigned long scm_num2ulong (SCM num, char *pos,
 extern void scm_init_numbers (void);
 
 #endif  /* NUMBERSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 837a8f4..6421e10 100644 (file)
@@ -492,3 +492,9 @@ scm_init_objects ()
 
 #include "objects.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index dab20a4..1c863bd 100644 (file)
@@ -240,3 +240,9 @@ extern SCM scm_i_make_class_object (SCM metaclass, SCM layout_string,
 extern void scm_init_objects (void);
 
 #endif /* OBJECTSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index b05ced8..1da9c1b 100644 (file)
@@ -124,3 +124,9 @@ scm_init_objprop ()
 #include "objprop.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index f04c140..2097f90 100644 (file)
@@ -60,3 +60,9 @@ extern SCM scm_set_object_property_x (SCM obj, SCM key, SCM val);
 extern void scm_init_objprop (void);
 
 #endif  /* OBJPROPH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index d8c2baa..cc56c94 100644 (file)
@@ -237,3 +237,9 @@ scm_init_options ()
   protected_objects = scm_permanent_object (scm_cons (SCM_UNDEFINED, SCM_EOL));
 #include "options.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 5fefab0..57b552d 100644 (file)
@@ -74,3 +74,9 @@ extern void scm_init_opts (SCM (*func) (SCM), scm_option options[], int n);
 extern void scm_init_options (void);
 
 #endif /* OPTIONSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 780f537..1a090b0 100644 (file)
@@ -167,3 +167,9 @@ scm_init_pairs ()
 #include "pairs.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 30bea4f..8c36a28 100644 (file)
@@ -245,3 +245,9 @@ extern SCM scm_set_cdr_x (SCM pair, SCM value);
 extern void scm_init_pairs (void);
 
 #endif  /* PAIRSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 58bfe4e..2215b45 100644 (file)
@@ -1376,3 +1376,9 @@ scm_init_ports ()
                                           write_void_port);
 #include "ports.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 1183ecb..cb34263 100644 (file)
@@ -302,3 +302,9 @@ extern SCM scm_pt_member (SCM member);
 #endif /* GUILE_DEBUG */
 
 #endif  /* PORTSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index d8ee0d4..554a729 100644 (file)
@@ -1325,3 +1325,9 @@ scm_sysintern ("PIPE_BUF", scm_long2num (PIPE_BUF));
 #include "cpp_sig_symbols.c"
 #include "posix.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 4b43693..2347df7 100644 (file)
@@ -98,3 +98,9 @@ extern SCM scm_sync (void);
 extern void scm_init_posix (void);
 
 #endif  /* POSIXH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 079c4a6..1696a8d 100644 (file)
@@ -1121,3 +1121,9 @@ scm_init_print ()
   
 #include "print.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index f15d330..dbb6186 100644 (file)
@@ -127,3 +127,9 @@ extern void scm_init_print (void);
 extern SCM scm_current_pstate (void);
 #endif 
 #endif  /* PRINTH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 419d8fe..999af99 100644 (file)
@@ -242,3 +242,9 @@ scm_init_procprop ()
 #include "procprop.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 9ee393a..d59e9a0 100644 (file)
@@ -62,3 +62,9 @@ extern SCM scm_set_procedure_property_x (SCM p, SCM k, SCM v);
 extern void scm_init_procprop (void);
 
 #endif  /* PROCPROPH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 8b76147..b90eace 100644 (file)
@@ -394,3 +394,9 @@ scm_init_procs ()
 {
 #include "procs.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 32516fe..8fe7fa1 100644 (file)
@@ -199,3 +199,9 @@ extern SCM scm_make_cclo (SCM proc, SCM len);
 
 \f
 #endif  /* PROCSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 11cbae5..68f2a59 100644 (file)
@@ -112,3 +112,9 @@ putenv (const char *string)
 
   return 0;
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 2eca233..8ef9eed 100644 (file)
@@ -1997,3 +1997,9 @@ scm_init_ramap ()
 #include "ramap.x"
   scm_add_feature (s_scm_array_for_each);
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 49df4ac..b081593 100644 (file)
@@ -72,3 +72,9 @@ extern SCM scm_array_equal_p (SCM ra0, SCM ra1);
 extern void scm_init_ramap (void);
 
 #endif  /* RAMAPH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 2161635..16b810a 100644 (file)
@@ -601,3 +601,9 @@ scm_init_random ()
   
   scm_add_feature ("random");
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 04651dc..d519d1c 100644 (file)
@@ -127,3 +127,9 @@ extern SCM scm_random_exp (SCM state);
 extern void scm_init_random (void);
 
 #endif  /* RANDOMH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 346705f..7af3b73 100644 (file)
@@ -787,3 +787,9 @@ scm_init_read ()
   scm_init_opts (scm_read_options, scm_read_opts, SCM_N_READ_OPTIONS);
 #include "read.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 847f080..aab2b6b 100644 (file)
@@ -90,3 +90,9 @@ extern SCM scm_read_hash_extend (SCM chr, SCM proc);
 extern void scm_init_read (void);
 
 #endif  /* READH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 0cf3a8b..2a1678b 100644 (file)
@@ -296,3 +296,9 @@ scm_init_regex_posix ()
 
   scm_add_feature ("regex");
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index fffbd24..3750f26 100644 (file)
@@ -60,3 +60,9 @@ extern SCM scm_regexp_exec (SCM rx, SCM str, SCM start, SCM flags);
 extern void scm_init_regex_posix (void);
 
 #endif
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 8b4ed1d..4767527 100644 (file)
@@ -446,3 +446,9 @@ scm_init_root ()
                                           
 #include "root.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index c9fc4a7..682caca 100644 (file)
@@ -170,3 +170,9 @@ extern SCM scm_call_catching_errors (SCM (*thunk)(), SCM (*err_filter)(), void *
 extern void scm_init_root (void);
 
 #endif  /* ROOTH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 7e63e72..0a76760 100644 (file)
@@ -525,3 +525,9 @@ scm_init_scmsigs ()
 #include "scmsigs.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 22ac5c0..a3bfd9b 100644 (file)
@@ -57,3 +57,9 @@ extern SCM scm_raise (SCM sig);
 extern void scm_init_scmsigs (void);
 
 #endif  /* SCMSIGSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 064f502..9e428f3 100644 (file)
@@ -644,3 +644,9 @@ scm_init_script ()
 {
 #include "script.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 33509b8..8593a64 100644 (file)
@@ -60,3 +60,9 @@ extern char *scm_usage_name;
 extern void scm_init_script (void);
 
 #endif  /* SCRIPTH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 2d7bdbf..841108f 100644 (file)
@@ -138,3 +138,9 @@ scm_init_simpos ()
 #include "simpos.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index b3a5c94..9e48340 100644 (file)
@@ -53,3 +53,9 @@ extern SCM scm_primitive_exit (SCM status);
 extern void scm_init_simpos (void);
 
 #endif  /* SIMPOSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index bb4f99b..8ffae88 100644 (file)
@@ -278,3 +278,9 @@ scm_smob_prehistory ()
 
   scm_make_smob_type ("allocated", 0);
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 4bdb816..f7a2433 100644 (file)
@@ -174,3 +174,9 @@ extern void scm_smob_prehistory (void);
 extern long scm_newsmob (const scm_smobfuns *smob);
 
 #endif  /* SMOBH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 1280610..9115fe1 100644 (file)
@@ -182,3 +182,9 @@ SCM_VCELL_INIT(c_name, scheme_name, scm_long2num(value))
 
 #endif /* LIBGUILE_SNARF_H */
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 1bdc61e..4e5cc38 100644 (file)
@@ -979,3 +979,9 @@ scm_init_socket ()
 #include "socket.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 9116701..1a96ee3 100644 (file)
@@ -70,3 +70,9 @@ extern SCM scm_sendto (SCM sockfd, SCM message, SCM fam, SCM address, SCM args_a
 extern void scm_init_socket (void);
 
 #endif  /* SOCKETH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 70f6a10..28decf0 100644 (file)
@@ -953,3 +953,9 @@ scm_init_sort ()
 
   scm_add_feature ("sort");
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index cbf2f03..701b5e4 100644 (file)
@@ -67,3 +67,9 @@ extern void scm_init_sort (void);
 
 
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 831fbe0..59c1fdc 100644 (file)
@@ -351,3 +351,9 @@ scm_finish_srcprop ()
       ptr = next;
     }
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index c7de9a1..2d92044 100644 (file)
@@ -135,3 +135,9 @@ extern void scm_finish_srcprop (void);
 extern void scm_init_srcprop (void);
 
 #endif /* SRCPROPH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index b7fc61d..3f3633b 100644 (file)
@@ -106,3 +106,9 @@ scm_init_stackchk ()
 {
 #include "stackchk.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 44d3d93..18c6b50 100644 (file)
@@ -90,3 +90,9 @@ extern void scm_stack_report (void);
 extern void scm_init_stackchk (void);
 
 #endif  /* STACKCHKH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 2a1abee..355bd8f 100644 (file)
@@ -755,3 +755,9 @@ scm_init_stacks ()
                                SCM_CAR (scm_intern0 ("stack")));
 #include "stacks.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 747ebcc..ca941e0 100644 (file)
@@ -139,3 +139,9 @@ SCM scm_frame_overflow_p (SCM frame);
 void scm_init_stacks (void);
 
 #endif /* STACKSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 08ccadb..c408dd4 100644 (file)
@@ -654,3 +654,9 @@ scm_init_stime()
 #include "stime.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index bb57ab6..64dc8ec 100644 (file)
@@ -61,3 +61,9 @@ extern SCM scm_strptime (SCM format, SCM string);
 extern void scm_init_stime (void);
 
 #endif  /* STIMEH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index ce7380d..0d05f4b 100644 (file)
@@ -31,3 +31,9 @@ strerror (int errnum)
     return sys_errlist[errnum];
   return (char *) "Unknown error";
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index f4bba65..783bfd4 100644 (file)
@@ -380,3 +380,9 @@ scm_init_strings ()
 #include "strings.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index b91aba0..c4289da 100644 (file)
@@ -82,3 +82,9 @@ extern SCM scm_make_shared_substring (SCM str, SCM frm, SCM to);
 extern void scm_init_strings (void);
 
 #endif  /* STRINGSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index d220125..633553a 100644 (file)
@@ -494,3 +494,9 @@ scm_init_strop ()
 {
 #include "strop.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 634b0a7..f5c988f 100644 (file)
@@ -70,3 +70,9 @@ extern SCM scm_string_ci_to_symbol (SCM v);
 #define scm_substring_move_right_x scm_substring_move_x
 
 #endif  /* STROPH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 4695b42..edaff6d 100644 (file)
@@ -236,3 +236,9 @@ scm_init_strorder ()
 #include "strorder.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 7b45f8a..0ee64ed 100644 (file)
@@ -66,3 +66,9 @@ extern SCM scm_string_ci_geq_p (SCM s1, SCM s2);
 extern void scm_init_strorder (void);
 
 #endif  /* STRORDERH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 1f4acec..31d92f3 100644 (file)
@@ -425,3 +425,9 @@ scm_init_strports ()
 #include "strports.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 5cdf910..14a9242 100644 (file)
@@ -59,3 +59,9 @@ extern SCM scm_eval_string (SCM string);
 extern void scm_init_strports (void);
 
 #endif  /* STRPORTSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 62e319d..f6d8b9d 100644 (file)
@@ -778,3 +778,9 @@ scm_init_struct ()
   scm_sysintern ("vtable-offset-user", SCM_MAKINUM (scm_vtable_offset_user));
 #include "struct.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 9e7bfba..f1a9e06 100644 (file)
@@ -120,3 +120,9 @@ extern void scm_print_struct (SCM exp, SCM port, scm_print_state *);
 extern void scm_init_struct (void);
 
 #endif  /* STRUCTH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 5a9ea47..776f2f3 100644 (file)
@@ -896,3 +896,9 @@ scm_init_symbols ()
   gensym_prefix = scm_permanent_object (scm_makfrom0str ("%%gensym"));
 #include "symbols.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 5495d61..8f12f13 100644 (file)
@@ -144,3 +144,9 @@ extern void scm_init_symbols (void);
 extern int scm_can_use_top_level_lookup_closure_var;
 
 #endif  /* SYMBOLSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 17dd260..d6044c7 100644 (file)
@@ -218,3 +218,9 @@ scm_init_tag ()
 #include "tag.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index e42730c..69afb35 100644 (file)
@@ -56,3 +56,9 @@ extern SCM scm_tag (SCM x);
 extern void scm_init_tag (void);
 
 #endif  /* TAGH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 5288bd3..af0d1d5 100644 (file)
@@ -582,3 +582,9 @@ extern char *scm_isymnames[];   /* defined in print.c */
 #define scm_tcs_symbols scm_tc7_ssymbol:case scm_tc7_msymbol
 
 #endif  /* TAGSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index b9c8974..e94b72b 100644 (file)
@@ -155,3 +155,9 @@ scm_init_threads (SCM_STACKITEM *i)
   /* Initialize implementation specific details of the threads support */
   scm_threads_init (i);
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index bbba346..f210d95 100644 (file)
@@ -116,3 +116,9 @@ extern SCM scm_signal_condition_variable (SCM cond);
 #endif
 
 #endif  /* THREADSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 8d303cf..2976b8f 100644 (file)
@@ -734,3 +734,9 @@ scm_init_throw ()
                                             NULL);
 #include "throw.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index e0ef204..d8f6ded 100644 (file)
@@ -101,3 +101,9 @@ extern SCM scm_ithrow (SCM key, SCM args, int noreturn);
 extern SCM scm_throw (SCM key, SCM args);
 extern void scm_init_throw (void);
 #endif  /* THROWH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 216482e..0bab178 100644 (file)
@@ -2522,3 +2522,9 @@ scm_init_unif ()
   scm_add_feature ("array");
 #include "unif.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 550909e..86312b3 100644 (file)
@@ -130,3 +130,9 @@ extern SCM scm_array_prototype (SCM ra);
 extern void scm_init_unif (void);
 
 #endif  /* UNIFH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index c22640d..bc773f4 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: validate.h,v 1.1 2000-03-03 00:11:46 gjb Exp $ */
+/* $Id: validate.h,v 1.2 2000-03-19 19:01:14 cmm Exp $ */
 /*     Copyright (C) 1999 Free Software Foundation, Inc.
  * 
  * This program is free software; you can redistribute it and/or modify
   do { SCM_ASSERT (SCM_VECTORP (v) && len == SCM_LENGTH(v), v, pos, FUNC_NAME); } while (0)
 
 #endif
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 4d35bb4..f453ce3 100644 (file)
@@ -238,3 +238,9 @@ scm_init_variable ()
 #include "variable.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index e69d86c..8d4abc0 100644 (file)
@@ -72,3 +72,9 @@ extern SCM scm_variable_bound_p (SCM var);
 extern void scm_init_variable (void);
 
 #endif  /* VARIABLEH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index d6d6eb5..f4e992e 100644 (file)
@@ -386,3 +386,9 @@ scm_init_vectors ()
     scm_make_subr (s_resizuve, scm_tc7_subr_2, scm_vector_set_length_x); */
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 7fd8df0..6245fb0 100644 (file)
@@ -86,3 +86,9 @@ extern SCM scm_vector_move_right_x (SCM vec1, SCM start1, SCM end1,
 extern void scm_init_vectors (void);
 
 #endif  /* VECTORSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 7efb682..605c2d9 100644 (file)
@@ -102,3 +102,9 @@ scm_init_version ()
 {
 #include "version.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 1476772..7c9babf 100644 (file)
@@ -54,3 +54,9 @@ extern SCM scm_version (void);
 extern void scm_init_version (void);
 
 #endif  /* VERSIONH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 70164ec..3a7cd99 100644 (file)
@@ -213,3 +213,9 @@ scm_init_vports ()
 {
 #include "vports.x"
 }
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 0e8aad1..39209cb 100644 (file)
@@ -52,3 +52,9 @@ extern SCM scm_make_soft_port (SCM pv, SCM modes);
 extern void scm_init_vports (void);
 
 #endif  /* VPORTSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 8ef6cb6..6816bfa 100644 (file)
@@ -216,3 +216,9 @@ scm_init_weaks ()
 #include "weaks.x"
 }
 
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/
index 26f9a02..e450ab0 100644 (file)
@@ -73,3 +73,9 @@ extern SCM scm_doubly_weak_hash_table_p (SCM x);
 extern void scm_init_weaks (void);
 
 #endif  /* WEAKSH */
+
+/*
+  Local Variables:
+  c-file-style: "gnu"
+  End:
+*/