diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-12-31 02:56:30 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-12-31 02:56:30 +0000 |
commit | 82f02ef3dc63650489f97887a3c85d26a7d41bc3 (patch) | |
tree | 1b0382609a9a606f946b06f442c0b0fa6e458d89 /include | |
parent | 928dc7dc5122065f82b136dd510be62ad537055e (diff) | |
download | mailutils-82f02ef3dc63650489f97887a3c85d26a7d41bc3.tar.gz mailutils-82f02ef3dc63650489f97887a3c85d26a7d41bc3.tar.bz2 |
Use __PMT in nested declarations for C++ compatibility.
Diffstat (limited to 'include')
-rw-r--r-- | include/mailutils/attribute.h | 6 | ||||
-rw-r--r-- | include/mailutils/auth.h | 11 |
2 files changed, 9 insertions, 8 deletions
diff --git a/include/mailutils/attribute.h b/include/mailutils/attribute.h index c9fd9e7fa..4f7e65af0 100644 --- a/include/mailutils/attribute.h +++ b/include/mailutils/attribute.h @@ -83,11 +83,11 @@ extern int attribute_set_flags __P ((attribute_t, int)); extern int attribute_unset_flags __P ((attribute_t, int)); extern int attribute_set_set_flags __P ((attribute_t, int (*_set_flags) - __P ((attribute_t, int)), void *)); + __PMT ((attribute_t, int)), void *)); extern int attribute_set_unset_flags __P ((attribute_t, int (*_unset_flags) - __P ((attribute_t, int)), void *)); + __PMT ((attribute_t, int)), void *)); extern int attribute_set_get_flags __P ((attribute_t, int (*_get_flags) - __P ((attribute_t, int *)), void *)); + __PMT ((attribute_t, int *)), void *)); extern int attribute_is_equal __P ((attribute_t, attribute_t att2)); extern int attribute_copy __P ((attribute_t, attribute_t)); diff --git a/include/mailutils/auth.h b/include/mailutils/auth.h index f416e28f1..465f1ee0e 100644 --- a/include/mailutils/auth.h +++ b/include/mailutils/auth.h @@ -27,11 +27,11 @@ extern "C" { extern int ticket_create __P ((ticket_t *, void *owner)); extern void ticket_destroy __P ((ticket_t *, void *owner)); extern int ticket_set_destroy __P ((ticket_t, void (*) - __P ((ticket_t)), void *owner)); + __PMT ((ticket_t)), void *owner)); extern void *ticket_get_owner __P ((ticket_t)); extern int ticket_set_pop __P ((ticket_t, int (*_pop) - __P ((ticket_t, url_t, const char *, char **)), void *)); + __PMT ((ticket_t, url_t, const char *, char **)), void *)); extern int ticket_pop __P ((ticket_t, url_t, const char *, char **)); extern int ticket_set_data __P ((ticket_t, void *, void *owner)); extern int ticket_get_data __P ((ticket_t, void **)); @@ -42,7 +42,8 @@ extern void *authority_get_owner __P ((authority_t)); extern int authority_set_ticket __P ((authority_t, ticket_t)); extern int authority_get_ticket __P ((authority_t, ticket_t *)); extern int authority_authenticate __P ((authority_t)); -extern int authority_set_authenticate __P ((authority_t, int (*_authenticate) __P ((authority_t)), void *)); +extern int authority_set_authenticate __P ((authority_t, + int (*_authenticate) __PMT ((authority_t)), void *)); extern int authority_create_null __P ((authority_t *pauthority, void *owner)); @@ -51,8 +52,8 @@ extern void wicket_destroy __P ((wicket_t *)); extern int wicket_set_filename __P ((wicket_t, const char *)); extern int wicket_get_filename __P ((wicket_t, char *, size_t, size_t *)); extern int wicket_set_ticket __P ((wicket_t, int (*) - __P ((wicket_t, const char *, - const char *, ticket_t *)))); + __PMT ((wicket_t, const char *, + const char *, ticket_t *)))); extern int wicket_get_ticket __P ((wicket_t, ticket_t *, const char *, const char *)); #ifdef __cplusplus |