Use __PMT instead of __P for function pointer.
authordrepper <drepper>
Mon, 29 Jun 1998 12:41:27 +0000 (12:41 +0000)
committerdrepper <drepper>
Mon, 29 Jun 1998 12:41:27 +0000 (12:41 +0000)
resolv/resolv.h

index 06dba63..c9a056f 100644 (file)
@@ -170,19 +170,19 @@ struct __res_state {
 typedef enum { res_goahead, res_nextns, res_modified, res_done, res_error }
        res_sendhookact;
 
-typedef res_sendhookact (*res_send_qhook)__P((struct sockaddr_in * const *ns,
-                                             const u_char **query,
-                                             int *querylen,
-                                             u_char *ans,
-                                             int anssiz,
-                                             int *resplen));
+typedef res_sendhookact (*res_send_qhook)__PMT((struct sockaddr_in * const *ns,
+                                               const u_char **query,
+                                               int *querylen,
+                                               u_char *ans,
+                                               int anssiz,
+                                               int *resplen));
 
-typedef res_sendhookact (*res_send_rhook)__P((const struct sockaddr_in *ns,
-                                             const u_char *query,
-                                             int querylen,
-                                             u_char *ans,
-                                             int anssiz,
-                                             int *resplen));
+typedef res_sendhookact (*res_send_rhook)__PMT((const struct sockaddr_in *ns,
+                                               const u_char *query,
+                                               int querylen,
+                                               u_char *ans,
+                                               int anssiz,
+                                               int *resplen));
 
 struct res_sym {
        int     number;         /* Identifying number, like T_MX */