diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-06-28 17:17:04 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-06-28 17:17:04 +0000 |
commit | 553c8585bba52eac5e1ba43fecbde82f22273896 (patch) | |
tree | f11b80bd778842fd10f0141983f12003ee11660e /mailbox | |
parent | 15947da1c2dba775e811bf4b00f814c8bb4385ec (diff) | |
download | mailutils-553c8585bba52eac5e1ba43fecbde82f22273896.tar.gz mailutils-553c8585bba52eac5e1ba43fecbde82f22273896.tar.bz2 |
Use MU_ARG_UNUSED to mark unused formal parameters.
Diffstat (limited to 'mailbox')
-rw-r--r-- | mailbox/amd.c | 4 | ||||
-rw-r--r-- | mailbox/auth.c | 2 | ||||
-rw-r--r-- | mailbox/file_stream.c | 2 | ||||
-rw-r--r-- | mailbox/filter_iconv.c | 2 | ||||
-rw-r--r-- | mailbox/filter_trans.c | 6 | ||||
-rw-r--r-- | mailbox/message_stream.c | 2 | ||||
-rw-r--r-- | mailbox/monitor.c | 4 | ||||
-rw-r--r-- | mailbox/mu_auth.c | 8 | ||||
-rw-r--r-- | mailbox/parsedate.y | 2 | ||||
-rw-r--r-- | mailbox/system.c | 16 | ||||
-rw-r--r-- | mailbox/url_sendmail.c | 2 |
11 files changed, 25 insertions, 25 deletions
diff --git a/mailbox/amd.c b/mailbox/amd.c index 36183ffca..75e74ee57 100644 --- a/mailbox/amd.c +++ b/mailbox/amd.c @@ -1107,7 +1107,7 @@ amd_is_updated (mu_mailbox_t mailbox) } static int -amd_get_size (mu_mailbox_t mailbox ARG_UNUSED, mu_off_t *psize ARG_UNUSED) +amd_get_size (mu_mailbox_t mailbox MU_ARG_UNUSED, mu_off_t *psize MU_ARG_UNUSED) { /*FIXME*/ return ENOSYS; @@ -1482,7 +1482,7 @@ amd_envelope_sender (mu_envelope_t envelope, char *buf, size_t len, size_t *psiz } static void -amd_url_destroy (mu_url_t url ARG_UNUSED) +amd_url_destroy (mu_url_t url MU_ARG_UNUSED) { } diff --git a/mailbox/auth.c b/mailbox/auth.c index 77b3c1aff..cd05e1402 100644 --- a/mailbox/auth.c +++ b/mailbox/auth.c @@ -30,7 +30,7 @@ #include <auth0.h> static int -_authenticate_null (mu_authority_t auth ARG_UNUSED) +_authenticate_null (mu_authority_t auth MU_ARG_UNUSED) { return 0; } diff --git a/mailbox/file_stream.c b/mailbox/file_stream.c index dbc84b5b0..26ed126c2 100644 --- a/mailbox/file_stream.c +++ b/mailbox/file_stream.c @@ -707,7 +707,7 @@ _prog_stream_unregister (struct _prog_stream *stream) } static int -_prog_waitpid (void *item, void *data ARG_UNUSED) +_prog_waitpid (void *item, void *data MU_ARG_UNUSED) { struct _prog_stream *str = item; int status; diff --git a/mailbox/filter_iconv.c b/mailbox/filter_iconv.c index 56732b5be..62229e2da 100644 --- a/mailbox/filter_iconv.c +++ b/mailbox/filter_iconv.c @@ -332,7 +332,7 @@ copy_pass (struct icvt_stream *s, char *optr, size_t osize, size_t *pnbytes) static int _icvt_read (mu_stream_t stream, char *optr, size_t osize, - mu_off_t offset ARG_UNUSED, size_t *pnbytes) + mu_off_t offset MU_ARG_UNUSED, size_t *pnbytes) { struct icvt_stream *s = mu_stream_get_owner (stream); diff --git a/mailbox/filter_trans.c b/mailbox/filter_trans.c index 9280b1220..192459095 100644 --- a/mailbox/filter_trans.c +++ b/mailbox/filter_trans.c @@ -168,7 +168,7 @@ static const char _hexdigits[] = "0123456789ABCDEF"; static int qp_decode (const char *iptr, size_t isize, char *optr, size_t osize, - size_t *nbytes, int *line_len ARG_UNUSED) + size_t *nbytes, int *line_len MU_ARG_UNUSED) { char c; int last_char = 0; @@ -413,7 +413,7 @@ b64_input (char c) static int base64_decode (const char *iptr, size_t isize, char *optr, size_t osize, - size_t *nbytes, int *line_len ARG_UNUSED) + size_t *nbytes, int *line_len MU_ARG_UNUSED) { int i = 0, tmp = 0, pad = 0; size_t consumed = 0; @@ -578,7 +578,7 @@ static struct _mu_filter_record _B_filter = /* RFC 2047 "Q" Encoding */ static int Q_decode (const char *iptr, size_t isize, char *optr, size_t osize, - size_t *nbytes, int *line_len ARG_UNUSED) + size_t *nbytes, int *line_len MU_ARG_UNUSED) { char c; size_t consumed = 0; diff --git a/mailbox/message_stream.c b/mailbox/message_stream.c index f8525813c..f413882bd 100644 --- a/mailbox/message_stream.c +++ b/mailbox/message_stream.c @@ -392,7 +392,7 @@ _body_stream_size (mu_stream_t stream, mu_off_t *psize) } static int -_body_stream_flush (mu_stream_t str ARG_UNUSED) +_body_stream_flush (mu_stream_t str MU_ARG_UNUSED) { return 0; } diff --git a/mailbox/monitor.c b/mailbox/monitor.c index 4f41c32db..f4c3832ca 100644 --- a/mailbox/monitor.c +++ b/mailbox/monitor.c @@ -193,13 +193,13 @@ mu_monitor_unlock (mu_monitor_t monitor) } int -mu_monitor_wait (mu_monitor_t monitor ARG_UNUSED) +mu_monitor_wait (mu_monitor_t monitor MU_ARG_UNUSED) { return ENOSYS; } int -mu_monitor_notify (mu_monitor_t monitor ARG_UNUSED) +mu_monitor_notify (mu_monitor_t monitor MU_ARG_UNUSED) { return ENOSYS; } diff --git a/mailbox/mu_auth.c b/mailbox/mu_auth.c index cd570a35a..ef0c49cc5 100644 --- a/mailbox/mu_auth.c +++ b/mailbox/mu_auth.c @@ -175,10 +175,10 @@ mu_auth_runlist (mu_list_t flist, struct mu_auth_data **return_data, } int -mu_auth_nosupport (struct mu_auth_data **return_data ARG_UNUSED, - const void *key ARG_UNUSED, - void *func_data ARG_UNUSED, - void *call_data ARG_UNUSED) +mu_auth_nosupport (struct mu_auth_data **return_data MU_ARG_UNUSED, + const void *key MU_ARG_UNUSED, + void *func_data MU_ARG_UNUSED, + void *call_data MU_ARG_UNUSED) { return ENOSYS; } diff --git a/mailbox/parsedate.y b/mailbox/parsedate.y index b042934a6..3f9d2294e 100644 --- a/mailbox/parsedate.y +++ b/mailbox/parsedate.y @@ -789,7 +789,7 @@ static SYMBOL const mil_tz_tab[] = { /* ARGSUSED */ static int -yyerror (char *s ARG_UNUSED) +yyerror (char *s MU_ARG_UNUSED) { return 0; } diff --git a/mailbox/system.c b/mailbox/system.c index 3b2416cfb..e38c0a0ad 100644 --- a/mailbox/system.c +++ b/mailbox/system.c @@ -75,8 +75,8 @@ mu_auth_system (struct mu_auth_data **return_data, const struct passwd *pw) int mu_auth_system_by_name (struct mu_auth_data **return_data, const void *key, - void *func_data ARG_UNUSED, - void *call_data ARG_UNUSED) + void *func_data MU_ARG_UNUSED, + void *call_data MU_ARG_UNUSED) { if (!key) return EINVAL; @@ -86,8 +86,8 @@ mu_auth_system_by_name (struct mu_auth_data **return_data, static int mu_auth_system_by_uid (struct mu_auth_data **return_data, const void *key, - void *func_data ARG_UNUSED, - void *call_data ARG_UNUSED) + void *func_data MU_ARG_UNUSED, + void *call_data MU_ARG_UNUSED) { if (!key) return EINVAL; @@ -95,9 +95,9 @@ mu_auth_system_by_uid (struct mu_auth_data **return_data, } static int -mu_authenticate_generic (struct mu_auth_data **return_data ARG_UNUSED, +mu_authenticate_generic (struct mu_auth_data **return_data MU_ARG_UNUSED, const void *key, - void *func_data ARG_UNUSED, + void *func_data MU_ARG_UNUSED, void *call_data) { const struct mu_auth_data *auth_data = key; @@ -113,9 +113,9 @@ mu_authenticate_generic (struct mu_auth_data **return_data ARG_UNUSED, /* Called only if generic fails */ static int -mu_authenticate_system (struct mu_auth_data **return_data ARG_UNUSED, +mu_authenticate_system (struct mu_auth_data **return_data MU_ARG_UNUSED, const void *key, - void *func_data ARG_UNUSED, + void *func_data MU_ARG_UNUSED, void *call_data) { const struct mu_auth_data *auth_data = key; diff --git a/mailbox/url_sendmail.c b/mailbox/url_sendmail.c index a4a94e2eb..67846b3f4 100644 --- a/mailbox/url_sendmail.c +++ b/mailbox/url_sendmail.c @@ -40,7 +40,7 @@ static void url_sendmail_destroy (mu_url_t purl); static void -url_sendmail_destroy (mu_url_t url ARG_UNUSED) +url_sendmail_destroy (mu_url_t url MU_ARG_UNUSED) { } |