diff options
author | 2016-06-10 13:15:07 -0700 | |
---|---|---|
committer | 2016-06-10 13:15:07 -0700 | |
commit | 1f24af879c507927203f11301e6ff2439bdbeff8 (patch) | |
tree | 281a5c586b9202e7416e013abd03eaa9172b89c9 /include/grpc/support | |
parent | 64c0e8d4bcf5f6822cdef368ee84074c3ea234c7 (diff) |
Restricted the check to GUNC
Diffstat (limited to 'include/grpc/support')
-rw-r--r-- | include/grpc/support/string_util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/grpc/support/string_util.h b/include/grpc/support/string_util.h index c68577b626..05cbd3b8c9 100644 --- a/include/grpc/support/string_util.h +++ b/include/grpc/support/string_util.h @@ -54,8 +54,8 @@ GPRAPI char *gpr_strdup(const char *src); On error, returns -1 and sets *strp to NULL. If the format string is bad, the result is undefined. */ -GPRAPI int gpr_asprintf(char **strp, const char *format, ...) - __attribute__((format(printf, 2, 3))); +GPRAPI int gpr_asprintf(char **strp, const char *format, + ...) GPRC_PRINT_FORMAT_CHECK(2, 3); #ifdef __cplusplus } |