Commit 82f02ef3 82f02ef3dc63650489f97887a3c85d26a7d41bc3 by Sergey Poznyakoff

Use __PMT in nested declarations for C++ compatibility.

1 parent 928dc7dc
......@@ -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));
......
......@@ -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
......