summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2013-06-18 20:23:29 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-06-18 20:23:29 +0000
commitf5d79aa4bb712fa5d8bd1b838317772c63720b3f (patch)
treefff0c855f7992aa0eebdd6bdaba8fa18c45d4611
parent228ee639be8b75ad13b945950b62529aa6615abd (diff)
parentbda25e4ed5f2fdd65cf32e7454774f5937c4ede4 (diff)
downloadsystem_core-f5d79aa4bb712fa5d8bd1b838317772c63720b3f.zip
system_core-f5d79aa4bb712fa5d8bd1b838317772c63720b3f.tar.gz
system_core-f5d79aa4bb712fa5d8bd1b838317772c63720b3f.tar.bz2
Merge "Don't use __attribute__(__error__)"
-rw-r--r--include/cutils/properties.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/cutils/properties.h b/include/cutils/properties.h
index 228b73e..2c70165 100644
--- a/include/cutils/properties.h
+++ b/include/cutils/properties.h
@@ -54,8 +54,7 @@ int property_list(void (*propfn)(const char *key, const char *value, void *cooki
extern int __property_get_real(const char *, char *, const char *)
__asm__(__USER_LABEL_PREFIX__ "property_get");
-extern void __property_get_too_small_error()
- __attribute__((__error__("property_get() called with too small of a buffer")));
+__errordecl(__property_get_too_small_error, "property_get() called with too small of a buffer");
__BIONIC_FORTIFY_INLINE
int property_get(const char *key, char *value, const char *default_value) {