=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/resolv.h,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- src/include/resolv.h 2002/02/16 21:27:17 1.8 +++ src/include/resolv.h 2002/02/17 19:42:21 1.9 @@ -1,4 +1,4 @@ -/* $OpenBSD: resolv.h,v 1.8 2002/02/16 21:27:17 millert Exp $ */ +/* $OpenBSD: resolv.h,v 1.9 2002/02/17 19:42:21 millert Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -223,19 +223,19 @@ 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, +typedef res_sendhookact (*res_send_qhook)(struct sockaddr_in * const *ns, const u_char **query, int *querylen, u_char *ans, int anssiz, - int *resplen)); + int *resplen); -typedef res_sendhookact (*res_send_rhook)__P((const struct sockaddr_in *ns, +typedef res_sendhookact (*res_send_rhook)(const struct sockaddr_in *ns, const u_char *query, int querylen, u_char *ans, int anssiz, - int *resplen)); + int *resplen); struct res_sym { int number; /* Identifying number, like T_MX */ @@ -324,31 +324,31 @@ void p_query(const u_char *); const u_char * p_cdnname(const u_char *, const u_char *, int, FILE *); const u_char * p_cdname(const u_char *, const u_char *, FILE *); -const u_char * p_fqnname __P((const u_char *cp, const u_char *msg, - int, char *, int)); +const u_char * p_fqnname(const u_char *cp, const u_char *msg, + int, char *, int); const u_char * p_fqname(const u_char *, const u_char *, FILE *); const u_char * p_rr(const u_char *, const u_char *, FILE *); const char * p_option(u_long option); char * p_secstodate(u_long); int dn_count_labels(char *); -int dn_comp __P((const char *, u_char *, int, - u_char **, u_char **)); -int dn_expand __P((const u_char *, const u_char *, const u_char *, - char *, int)); +int dn_comp(const char *, u_char *, int, + u_char **, u_char **); +int dn_expand(const u_char *, const u_char *, const u_char *, + char *, int); int res_init(void); u_int res_randomid(void); int res_query(const char *, int, int, u_char *, int); int res_search(const char *, int, int, u_char *, int); -int res_querydomain __P((const char *, const char *, int, int, - u_char *, int)); -int res_mkquery __P((int, const char *, int, int, const u_char *, int, - const u_char *, u_char *, int)); +int res_querydomain(const char *, const char *, int, int, + u_char *, int); +int res_mkquery(int, const char *, int, int, const u_char *, int, + const u_char *, u_char *, int); int res_send(const u_char *, int, u_char *, int); int res_isourserver(const struct sockaddr_in *); -int res_nameinquery __P((const char *, int, int, - const u_char *, const u_char *)); -int res_queriesmatch __P((const u_char *, const u_char *, - const u_char *, const u_char *)); +int res_nameinquery(const char *, int, int, + const u_char *, const u_char *); +int res_queriesmatch(const u_char *, const u_char *, + const u_char *, const u_char *); void res_close(void); __END_DECLS