aboutsummaryrefslogtreecommitdiffstats
path: root/libc/upstream-netbsd
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-05-14 16:08:43 -0700
committerElliott Hughes <enh@google.com>2013-05-14 16:08:43 -0700
commitd04c18397946f87ac4495351537c31a3d67257da (patch)
tree3917d8d909d7f5ed401bdad509a364256b0890a9 /libc/upstream-netbsd
parent349ef893e82f37632a705f39efc47c0d440f63c7 (diff)
downloadandroid_bionic-d04c18397946f87ac4495351537c31a3d67257da.tar.gz
android_bionic-d04c18397946f87ac4495351537c31a3d67257da.tar.bz2
android_bionic-d04c18397946f87ac4495351537c31a3d67257da.zip
Add more __restricts, clean up __format__ attributes.
Change-Id: I7e2d270cc722d339d221eaea92747eaff3b51403
Diffstat (limited to 'libc/upstream-netbsd')
-rw-r--r--libc/upstream-netbsd/port_before.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/upstream-netbsd/port_before.h b/libc/upstream-netbsd/port_before.h
index 70eed2687..9f77f79ea 100644
--- a/libc/upstream-netbsd/port_before.h
+++ b/libc/upstream-netbsd/port_before.h
@@ -21,7 +21,7 @@
#include <sys/cdefs.h>
#include <arpa_nameser.h>
-#define ISC_FORMAT_PRINTF(a,b) __attribute__((__format__(__printf__,a,b)))
+#define ISC_FORMAT_PRINTF(a,b) __printflike(a,b)
#define ISC_SOCKLEN_T socklen_t
#endif