diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2004-06-23 06:50:11 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2004-06-23 06:50:11 +0000 |
commit | 70da7cdb634d4aed3951d7d2f9576ac6bacd6bff (patch) | |
tree | 042a38f2fb648fa17c1456be0ec64f74a50c7ec9 /libmu_scm | |
parent | a133bff2460ad81639fd327b6035d5f5dbe878fe (diff) | |
download | mailutils-70da7cdb634d4aed3951d7d2f9576ac6bacd6bff.tar.gz mailutils-70da7cdb634d4aed3951d7d2f9576ac6bacd6bff.tar.bz2 |
Use SCM_UNSPECIFIED where appropriate.
Diffstat (limited to 'libmu_scm')
-rw-r--r-- | libmu_scm/mu_mailbox.c | 2 | ||||
-rw-r--r-- | libmu_scm/mu_message.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libmu_scm/mu_mailbox.c b/libmu_scm/mu_mailbox.c index 4006a52aa..aa8b7e3ec 100644 --- a/libmu_scm/mu_mailbox.c +++ b/libmu_scm/mu_mailbox.c @@ -156,13 +156,13 @@ SCM_DEFINE (mu_mailbox_close, "mu-mailbox-close", 1, 0, 0, struct mu_mailbox *mum; SCM_ASSERT (mu_scm_is_mailbox (MBOX), MBOX, SCM_ARG1, FUNC_NAME); mum = (struct mu_mailbox *) SCM_CDR (MBOX); mailbox_close (mum->mbox); mailbox_destroy (&mum->mbox); - return SCM_UNDEFINED; + return SCM_UNSPECIFIED; } #undef FUNC_NAME SCM_DEFINE (mu_mailbox_get_url, "mu-mailbox-get-url", 1, 0, 0, (SCM MBOX), "Returns the URL of the mailbox.") diff --git a/libmu_scm/mu_message.c b/libmu_scm/mu_message.c index d9d16e8d0..5de35f121 100644 --- a/libmu_scm/mu_message.c +++ b/libmu_scm/mu_message.c @@ -461,13 +461,13 @@ SCM_DEFINE (mu_message_set_header_fields, "mu-message-set-header-fields", 2, 1, SCM_ASSERT (SCM_NIMP (car) && SCM_STRINGP (car), car, SCM_ARGn, FUNC_NAME); SCM_ASSERT (SCM_NIMP (cdr) && SCM_STRINGP (cdr), cdr, SCM_ARGn, FUNC_NAME); header_set_value (hdr, SCM_STRING_CHARS (car), SCM_STRING_CHARS (cdr), replace); } - return SCM_UNDEFINED; + return SCM_UNSPECIFIED; } #undef FUNC_NAME SCM_DEFINE (mu_message_delete, "mu-message-delete", 1, 1, 0, (SCM MESG, SCM FLAG), "Mark given message as deleted. Optional FLAG allows to toggle deleted mark\n" @@ -488,13 +488,13 @@ SCM_DEFINE (mu_message_delete, "mu-message-delete", 1, 1, 0, } message_get_attribute (msg, &attr); if (delete) attribute_set_deleted (attr); else attribute_unset_deleted (attr); - return SCM_UNDEFINED; + return SCM_UNSPECIFIED; } #undef FUNC_NAME SCM_DEFINE (mu_message_get_flag, "mu-message-get-flag", 2, 0, 0, (SCM MESG, SCM FLAG), "Return value of the attribute FLAG.") @@ -616,13 +616,13 @@ SCM_DEFINE (mu_message_set_flag, "mu-message-set-flag", 2, 1, 0, attribute_unset_recent (attr); break; default: if (value) attribute_set_flags (attr, SCM_INUM (FLAG)); } - return SCM_UNDEFINED; + return SCM_UNSPECIFIED; } #undef FUNC_NAME SCM_DEFINE (mu_message_get_user_flag, "mu-message-get-user-flag", 2, 0, 0, (SCM MESG, SCM FLAG), "Returns value of the user attribute FLAG.") @@ -664,13 +664,13 @@ SCM_DEFINE (mu_message_set_user_flag, "mu-message-set-user-flag", 2, 1, 0, message_get_attribute (msg, &attr); if (set) attribute_set_userflag (attr, SCM_INUM (FLAG)); else attribute_unset_userflag (attr, SCM_INUM (FLAG)); - return SCM_UNDEFINED; + return SCM_UNSPECIFIED; } #undef FUNC_NAME SCM_DEFINE (mu_message_get_port, "mu-message-get-port", 2, 1, 0, (SCM MESG, SCM MODE, SCM FULL), "Returns a port associated with the given MESG. MODE is a string\n" |