aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorAlistair Strachan <alistair.strachan@imgtec.com>2016-05-05 16:11:35 -0700
committerRob Landley <rob@landley.net>2016-05-05 22:10:37 -0500
commitd3e8dd1bf56afc2277960472a46907d419e4b3da (patch)
tree7e616e15fe73c1647c10af2ac6fed31d0160f663 /main.c
parent942bf0ca665192ec3f5bae6821a64de09db9350e (diff)
downloadtoybox-d3e8dd1bf56afc2277960472a46907d419e4b3da.tar.gz
Fix static linkage of toybox binary.
If toybox was compiled statically e.g. for use in a recovery ramdisk, it would not build after b66a29a. This is because libselinux already exports a selinux_log_callback() function which getprop.c is trying to override. This change simply makes the second symbol static, since it is only used in a function table so we do not actually need to export it from toybox. Change-Id: I603258877ae2286660df35738bbf4f4285df5b54 Signed-off-by: Alistair Strachan <alistair.strachan@imgtec.com>
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions