diff options
author | Marius Vollmer <mvo@zagadka.de> | 2004-08-02 16:14:04 +0000 |
---|---|---|
committer | Marius Vollmer <mvo@zagadka.de> | 2004-08-02 16:14:04 +0000 |
commit | b9bd8526f055eeef0acc42c269eb5ec67546159f (patch) | |
tree | f2561facb5d3a08f72839a166e89eda9e7b4136e /libguile/simpos.c | |
parent | 531bf3e6a84faf61107b4a8a5288a2a757d17c6e (diff) |
* numbers.h, numbers.c, discouraged.h, discouraged.c (scm_short2num,
scm_ushort2num, scm_int2num, scm_uint2num, scm_long2num,
scm_ulong2num, scm_size2num, scm_ptrdiff2num, scm_num2short,
scm_num2ushort, scm_num2int, scm_num2uint, scm_num2long,
scm_num2ulong, scm_num2size, scm_num2ptrdiff, scm_long_long2num,
scm_ulong_long2num, scm_num2long_long, scm_num2ulong_long):
Discouraged by moving to discouraged.h and discouraged.c and
reimplementing in terms of scm_from_* and scm_to_*. Changed all uses
to the new scm_from_* and scm_to_* functions.
Diffstat (limited to 'libguile/simpos.c')
-rw-r--r-- | libguile/simpos.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libguile/simpos.c b/libguile/simpos.c index a37423f56..ca083ab15 100644 --- a/libguile/simpos.c +++ b/libguile/simpos.c @@ -151,9 +151,9 @@ SCM_DEFINE (scm_system_star, "system*", 0, 0, 1, execargv = allocate_string_pointers (args); /* make sure the child can't kill us (as per normal system call) */ - sig_ign = scm_long2num ((long) SIG_IGN); - sigint = scm_long2num (SIGINT); - sigquit = scm_long2num (SIGQUIT); + sig_ign = scm_from_long ((unsigned long) SIG_IGN); + sigint = scm_from_long (SIGINT); + sigquit = scm_from_long (SIGQUIT); oldint = scm_sigaction (sigint, sig_ign, SCM_UNDEFINED); oldquit = scm_sigaction (sigquit, sig_ign, SCM_UNDEFINED); |