summaryrefslogtreecommitdiffstats
path: root/toolbox/watchprops.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove watchprops.Elliott Hughes2015-11-141-92/+0
| | | | | | | | | Since watchprops would have to be rewritten anyway in the upcoming properties rewrite, there seems little point in rewriting it for toybox first. Let's see how many people actually use watchprops and decide whether it's worth the effort... Change-Id: I996e7209bc81633ee66602f09f130226336d9987
* Add missing <string.h> includes.Elliott Hughes2015-01-241-0/+1
| | | | Change-Id: I3d1ad54418f69f947e2d829d63b53d44581bfd86
* Remove unnecessary #includes of <sys/atomics.h>.Elliott Hughes2014-05-221-2/+0
| | | | | Bug: 14903517 Change-Id: I5b0a418dd982f1a2fd90609b12bd8364f7f34996
* toolbox: fix buildGreg Hackmann2014-05-211-2/+2
| | | | | Change-Id: I4d37ae4ad19620f77e37b739fb1248b712b3f986 Signed-off-by: Greg Hackmann <ghackmann@google.com>
* toolbox: turn on -WerrorMark Salyzyn2014-05-141-4/+2
| | | | | | | | | - Deal with some signedness issues - Deal with some size issues - Deal with NULL pointer issues - Deal with some -Wunused issues Change-Id: I1479dd90d690084491bae3475f2c547833519a57
* toolbox: reimplement watchprops using __system_property_foreach()Greg Hackmann2013-06-181-39/+59
| | | | | | | | | | | | | Internally, replace the watchlist array with a hashmap since the array assumes properties are enumerated in a consistent order and foreach() probably won't. (find_nth() never guaranteed this either but it usually worked in practice.) Signed-off-by: Greg Hackmann <ghackmann@google.com> (cherry picked from commit 389e358017ad15485f2bd9120feebfffa489131b) Change-Id: I1db3137b130474f4bb205f01f0bdcf37cf974764
* toolbox: hide property implementation from watchpropsColin Cross2013-06-171-17/+16
| | | | | | (cherry picked from commit 91779634debc79bc75d3df4e0f59d964ad4f5f78) Change-Id: I7a2d8aa507ac61cedc5f67c563531a7d4ec8e4c2
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+76
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-76/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+76