Commit 8d2fc386 8d2fc386bf6fc47867572b8ab5634364082f0729 by Sergey Poznyakoff

change all callback function specs from __P to __PMT

1 parent b6473f87
...@@ -41,7 +41,7 @@ struct _filter_record ...@@ -41,7 +41,7 @@ struct _filter_record
41 41
42 /* Stub function return the fields. */ 42 /* Stub function return the fields. */
43 int (*_is_filter) __P ((filter_record_t, const char *)); 43 int (*_is_filter) __P ((filter_record_t, const char *));
44 int (*_get_filter) __P ((filter_record_t, int (*(*_filter)) __P ((filter_t)))); 44 int (*_get_filter) __P ((filter_record_t, int (*(*_filter)) __PMT ((filter_t))));
45 }; 45 };
46 46
47 47
......
...@@ -37,10 +37,10 @@ struct _record ...@@ -37,10 +37,10 @@ struct _record
37 37
38 /* Stub functions to override. The defaut is to return the fields. */ 38 /* Stub functions to override. The defaut is to return the fields. */
39 int (*_is_scheme) __P ((record_t, const char *)); 39 int (*_is_scheme) __P ((record_t, const char *));
40 int (*_get_url) __P ((record_t, int (*(*_url)) __P ((url_t)))); 40 int (*_get_url) __P ((record_t, int (*(*_url)) __PMT ((url_t))));
41 int (*_get_mailbox) __P ((record_t, int (*(*_mailbox)) __P ((mailbox_t)))); 41 int (*_get_mailbox) __P ((record_t, int (*(*_mailbox)) __PMT ((mailbox_t))));
42 int (*_get_mailer) __P ((record_t, int (*(*_mailer)) __P ((mailer_t)))); 42 int (*_get_mailer) __P ((record_t, int (*(*_mailer)) __PMT ((mailer_t))));
43 int (*_get_folder) __P ((record_t, int (*(*_folder)) __P ((folder_t)))); 43 int (*_get_folder) __P ((record_t, int (*(*_folder)) __PMT ((folder_t))));
44 }; 44 };
45 45
46 /* Registration. */ 46 /* Registration. */
...@@ -55,32 +55,32 @@ extern int record_set_is_scheme __P ((record_t, int (*_is_scheme) ...@@ -55,32 +55,32 @@ extern int record_set_is_scheme __P ((record_t, int (*_is_scheme)
55 __P ((record_t, const char *)))); 55 __P ((record_t, const char *))));
56 56
57 /* Url. */ 57 /* Url. */
58 extern int record_get_url __P ((record_t, int (*(*)) __P ((url_t)))); 58 extern int record_get_url __P ((record_t, int (*(*)) __PMT ((url_t))));
59 extern int record_set_url __P ((record_t, int (*) __P ((url_t)))); 59 extern int record_set_url __P ((record_t, int (*) __PMT ((url_t))));
60 extern int record_set_get_url __P ((record_t, int (*_get_url) 60 extern int record_set_get_url __P ((record_t, int (*_get_url)
61 __P ((record_t, 61 __PMT ((record_t,
62 int (*(*)) __P ((url_t)))))); 62 int (*(*)) __PMT ((url_t))))));
63 /* Mailbox. */ 63 /* Mailbox. */
64 extern int record_get_mailbox __P ((record_t, int (*(*)) 64 extern int record_get_mailbox __P ((record_t, int (*(*))
65 __P ((mailbox_t)))); 65 __PMT ((mailbox_t))));
66 extern int record_set_mailbox __P ((record_t, int (*) __P ((mailbox_t)))); 66 extern int record_set_mailbox __P ((record_t, int (*) __PMT ((mailbox_t))));
67 extern int record_set_get_mailbox __P ((record_t, int (*_get_mailbox) 67 extern int record_set_get_mailbox __P ((record_t, int (*_get_mailbox)
68 __P ((record_t, 68 __PMT ((record_t,
69 int (*(*)) __P((mailbox_t)))))); 69 int (*(*)) __PMT((mailbox_t))))));
70 /* Mailer. */ 70 /* Mailer. */
71 extern int record_get_mailer __P ((record_t, 71 extern int record_get_mailer __P ((record_t,
72 int (*(*)) __P ((mailer_t)))); 72 int (*(*)) __PMT ((mailer_t))));
73 extern int record_set_mailer __P ((record_t, int (*) __P ((mailer_t)))); 73 extern int record_set_mailer __P ((record_t, int (*) __PMT ((mailer_t))));
74 extern int record_set_get_mailer __P ((record_t, int (*_get_mailer) 74 extern int record_set_get_mailer __P ((record_t, int (*_get_mailer)
75 __P ((record_t, 75 __PMT ((record_t,
76 int (*(*)) __P ((mailer_t)))))); 76 int (*(*)) __PMT ((mailer_t))))));
77 /* Folder. */ 77 /* Folder. */
78 extern int record_get_folder __P ((record_t, 78 extern int record_get_folder __P ((record_t,
79 int (*(*)) __P ((folder_t)))); 79 int (*(*)) __PMT ((folder_t))));
80 extern int record_set_folder __P ((record_t, int (*) __P ((folder_t)))); 80 extern int record_set_folder __P ((record_t, int (*) __PMT ((folder_t))));
81 extern int record_set_get_folder __P ((record_t, int (*_get_folder) 81 extern int record_set_get_folder __P ((record_t, int (*_get_folder)
82 __P ((record_t, 82 __PMT ((record_t,
83 int (*(*)) __P ((folder_t)))))); 83 int (*(*)) __PMT ((folder_t))))));
84 84
85 /* Records provided by the library. */ 85 /* Records provided by the library. */
86 86
......