diff options
author | Elliott Hughes <enh@google.com> | 2017-03-22 10:35:14 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2017-03-27 13:20:09 -0500 |
commit | 7ec23e64af0f0bfd6e330c2cff467ae8524d16dd (patch) | |
tree | 3aa7ea954b41523b814cafe2fe663243994ea1ea /toys/posix/ps.c | |
parent | 6e9fcacfcbb92ea457a5c5f96d1a28dbd3cabd0e (diff) | |
download | toybox-7ec23e64af0f0bfd6e330c2cff467ae8524d16dd.tar.gz |
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);
^~~~~~~~~~~~~
Diffstat (limited to 'toys/posix/ps.c')
0 files changed, 0 insertions, 0 deletions