summaryrefslogtreecommitdiff
path: root/include/resolv.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-17 19:42:41 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-17 19:42:41 +0000
commitd522f6eb0324008023fed0be4d046f3fc51b0356 (patch)
tree9ecf8345e3c3ff77a81ef2a20d84c6497533e804 /include/resolv.h
parent1b433a7e5b43fe0dec72e100525e31299629c117 (diff)
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
Diffstat (limited to 'include/resolv.h')
-rw-r--r--include/resolv.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/include/resolv.h b/include/resolv.h
index 2a866edea98..137d2ba66f0 100644
--- a/include/resolv.h
+++ b/include/resolv.h
@@ -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 @@ struct __res_state_ext {
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 @@ const char * p_type(int);
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