summaryrefslogtreecommitdiff
path: root/libguile/simpos.h
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2013-11-28 11:53:57 +0100
committerAndy Wingo <wingo@pobox.com>2013-11-28 11:53:57 +0100
commit87fc4596e54d69559ce27868dd1a604ea322a6b1 (patch)
tree60b9f821b54c492ebd746ae5d99a6363f99c5e1e /libguile/simpos.h
parent35164d84e093ddf9e463fb72cc355c68a4ee92c9 (diff)
downloadguile-87fc4596e54d69559ce27868dd1a604ea322a6b1.tar.gz
Remove private-gc.h
* libguile/simpos.c (scm_getenv_int): Move here, from gc.c. * libguile/private-gc.h: Remove, unused. * libguile/simpos.h: Move scm_getenv_int declaration here. * libguile/vm.c: * libguile/gc.c: Adapt scm_getenv_int users. * libguile/gc-malloc.c: * libguile/load.c: * libguile/script.c: Remove private-gc includes from non-users of scm_getenv_int. * libguile/Makefile.am: Adapt.
Diffstat (limited to 'libguile/simpos.h')
-rw-r--r--libguile/simpos.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libguile/simpos.h b/libguile/simpos.h
index b391a28d8..1e2076870 100644
--- a/libguile/simpos.h
+++ b/libguile/simpos.h
@@ -3,7 +3,7 @@
#ifndef SCM_SIMPOS_H
#define SCM_SIMPOS_H
-/* Copyright (C) 1995,1996,1997,1998,2000, 2006, 2008 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1997,1998,2000, 2006, 2008, 2013 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
@@ -32,6 +32,7 @@ SCM_API SCM scm_system_star (SCM cmds);
SCM_API SCM scm_getenv (SCM nam);
SCM_API SCM scm_primitive_exit (SCM status);
SCM_API SCM scm_primitive__exit (SCM status);
+SCM_INTERNAL int scm_getenv_int (const char *var, int def);
SCM_INTERNAL void scm_init_simpos (void);
#endif /* SCM_SIMPOS_H */