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)); ...@@ -83,11 +83,11 @@ extern int attribute_set_flags __P ((attribute_t, int));
83 extern int attribute_unset_flags __P ((attribute_t, int)); 83 extern int attribute_unset_flags __P ((attribute_t, int));
84 84
85 extern int attribute_set_set_flags __P ((attribute_t, int (*_set_flags) 85 extern int attribute_set_set_flags __P ((attribute_t, int (*_set_flags)
86 __P ((attribute_t, int)), void *)); 86 __PMT ((attribute_t, int)), void *));
87 extern int attribute_set_unset_flags __P ((attribute_t, int (*_unset_flags) 87 extern int attribute_set_unset_flags __P ((attribute_t, int (*_unset_flags)
88 __P ((attribute_t, int)), void *)); 88 __PMT ((attribute_t, int)), void *));
89 extern int attribute_set_get_flags __P ((attribute_t, int (*_get_flags) 89 extern int attribute_set_get_flags __P ((attribute_t, int (*_get_flags)
90 __P ((attribute_t, int *)), void *)); 90 __PMT ((attribute_t, int *)), void *));
91 extern int attribute_is_equal __P ((attribute_t, attribute_t att2)); 91 extern int attribute_is_equal __P ((attribute_t, attribute_t att2));
92 92
93 extern int attribute_copy __P ((attribute_t, attribute_t)); 93 extern int attribute_copy __P ((attribute_t, attribute_t));
......
...@@ -27,11 +27,11 @@ extern "C" { ...@@ -27,11 +27,11 @@ extern "C" {
27 extern int ticket_create __P ((ticket_t *, void *owner)); 27 extern int ticket_create __P ((ticket_t *, void *owner));
28 extern void ticket_destroy __P ((ticket_t *, void *owner)); 28 extern void ticket_destroy __P ((ticket_t *, void *owner));
29 extern int ticket_set_destroy __P ((ticket_t, void (*) 29 extern int ticket_set_destroy __P ((ticket_t, void (*)
30 __P ((ticket_t)), void *owner)); 30 __PMT ((ticket_t)), void *owner));
31 extern void *ticket_get_owner __P ((ticket_t)); 31 extern void *ticket_get_owner __P ((ticket_t));
32 32
33 extern int ticket_set_pop __P ((ticket_t, int (*_pop) 33 extern int ticket_set_pop __P ((ticket_t, int (*_pop)
34 __P ((ticket_t, url_t, const char *, char **)), void *)); 34 __PMT ((ticket_t, url_t, const char *, char **)), void *));
35 extern int ticket_pop __P ((ticket_t, url_t, const char *, char **)); 35 extern int ticket_pop __P ((ticket_t, url_t, const char *, char **));
36 extern int ticket_set_data __P ((ticket_t, void *, void *owner)); 36 extern int ticket_set_data __P ((ticket_t, void *, void *owner));
37 extern int ticket_get_data __P ((ticket_t, void **)); 37 extern int ticket_get_data __P ((ticket_t, void **));
...@@ -42,7 +42,8 @@ extern void *authority_get_owner __P ((authority_t)); ...@@ -42,7 +42,8 @@ extern void *authority_get_owner __P ((authority_t));
42 extern int authority_set_ticket __P ((authority_t, ticket_t)); 42 extern int authority_set_ticket __P ((authority_t, ticket_t));
43 extern int authority_get_ticket __P ((authority_t, ticket_t *)); 43 extern int authority_get_ticket __P ((authority_t, ticket_t *));
44 extern int authority_authenticate __P ((authority_t)); 44 extern int authority_authenticate __P ((authority_t));
45 extern int authority_set_authenticate __P ((authority_t, int (*_authenticate) __P ((authority_t)), void *)); 45 extern int authority_set_authenticate __P ((authority_t,
46 int (*_authenticate) __PMT ((authority_t)), void *));
46 47
47 extern int authority_create_null __P ((authority_t *pauthority, void *owner)); 48 extern int authority_create_null __P ((authority_t *pauthority, void *owner));
48 49
...@@ -51,7 +52,7 @@ extern void wicket_destroy __P ((wicket_t *)); ...@@ -51,7 +52,7 @@ extern void wicket_destroy __P ((wicket_t *));
51 extern int wicket_set_filename __P ((wicket_t, const char *)); 52 extern int wicket_set_filename __P ((wicket_t, const char *));
52 extern int wicket_get_filename __P ((wicket_t, char *, size_t, size_t *)); 53 extern int wicket_get_filename __P ((wicket_t, char *, size_t, size_t *));
53 extern int wicket_set_ticket __P ((wicket_t, int (*) 54 extern int wicket_set_ticket __P ((wicket_t, int (*)
54 __P ((wicket_t, const char *, 55 __PMT ((wicket_t, const char *,
55 const char *, ticket_t *)))); 56 const char *, ticket_t *))));
56 extern int wicket_get_ticket __P ((wicket_t, ticket_t *, const char *, const char *)); 57 extern int wicket_get_ticket __P ((wicket_t, ticket_t *, const char *, const char *));
57 58
......