summaryrefslogtreecommitdiffstats
path: root/include/resolv.h
diff options
context:
space:
mode:
authoravsm <avsm@openbsd.org>2003-06-26 19:34:17 +0000
committeravsm <avsm@openbsd.org>2003-06-26 19:34:17 +0000
commit3e87668a71a6751e2763fbdbd1695c56c1a97b8c (patch)
treedac48b445ab3cefd72ee41b45d1348dfd3121eb5 /include/resolv.h
parentOnly one of -tag and -ohang after .Bl; (diff)
downloadwireguard-openbsd-3e87668a71a6751e2763fbdbd1695c56c1a97b8c.tar.xz
wireguard-openbsd-3e87668a71a6751e2763fbdbd1695c56c1a97b8c.zip
backout the __bounded__ attributes for a while; requested by deraadt@
Diffstat (limited to 'include/resolv.h')
-rw-r--r--include/resolv.h18
1 files changed, 6 insertions, 12 deletions
diff --git a/include/resolv.h b/include/resolv.h
index 54cfdb8fc12..7a11eb31d00 100644
--- a/include/resolv.h
+++ b/include/resolv.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: resolv.h,v 1.12 2003/06/26 18:35:13 avsm Exp $ */
+/* $OpenBSD: resolv.h,v 1.13 2003/06/26 19:34:17 avsm Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -333,19 +333,13 @@ 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)
- __attribute__((__bounded__(__string__,4,5)));
-int res_search(const char *, int, int, u_char *, int)
- __attribute__((__bounded__(__string__,4,5)));
+int res_query(const char *, int, int, u_char *, int);
+int res_search(const char *, int, int, u_char *, int);
int res_querydomain(const char *, const char *, int, int,
- u_char *, int)
- __attribute__((__bounded__(__string__,5,6)));
+ u_char *, int);
int res_mkquery(int, const char *, int, int, const u_char *, int,
- const u_char *, u_char *, int)
- __attribute__((__bounded__(__string__,5,6)))
- __attribute__((__bounded__(__string__,8,9)));
-int res_send(const u_char *, int, u_char *, int)
- __attribute__((__bounded__(__string__,3,4)));
+ 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(const char *, int, int,
const u_char *, const u_char *);