commit | d04c18397946f87ac4495351537c31a3d67257da | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue May 14 16:08:43 2013 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue May 14 16:08:43 2013 -0700 |
tree | 3917d8d909d7f5ed401bdad509a364256b0890a9 | |
parent | 349ef893e82f37632a705f39efc47c0d440f63c7 [diff] [blame] |
Add more __restricts, clean up __format__ attributes. Change-Id: I7e2d270cc722d339d221eaea92747eaff3b51403
diff --git a/libc/upstream-netbsd/port_before.h b/libc/upstream-netbsd/port_before.h index 70eed26..9f77f79 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