commit | 7ec23e64af0f0bfd6e330c2cff467ae8524d16dd | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Mar 22 10:35:14 2017 -0700 |
committer | Rob Landley <rob@landley.net> | Mon Mar 27 13:20:09 2017 -0500 |
tree | 3aa7ea954b41523b814cafe2fe663243994ea1ea | |
parent | 6e9fcacfcbb92ea457a5c5f96d1a28dbd3cabd0e [diff] |
Fix the type of the callback in getprop. Fixes: toys/android/getprop.c:56:39: warning: incompatible pointer types passing 'void (void *, const char *, const char *)' to parameter of type 'void (*)(void *, const char *, const char *, uint32_t)' (aka 'void (*)(void *, const char *, const char *, unsigned int)') [-Wincompatible-pointer-types] __system_property_read_callback(pi, read_callback, NULL); ^~~~~~~~~~~~~