commit | 912125c23702c0a4c313ff57cb74e16df43a1085 | [log] [tgz] |
---|---|---|
author | Gwendal Grignou <gwendal@chromium.org> | Fri May 13 23:29:47 2022 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 20 01:44:56 2022 |
tree | 7ea777d4f6a7bc85d527f59754a4aa88f48be66a | |
parent | 9ab27d520fe942320548bf772cf1b93514a5aef8 [diff] |
util/test: Do not use nested functions Nested functions only work with gcc, not llvm. Define a static function instead. BUG=b:232122437 TEST=compile when FEATURES=test is set. Change-Id: I93847ac953565aa83bec169feb32118ac27eb7a4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/upstart/+/3647452 Reviewed-by: Allen Webb <allenwebb@google.com> Tested-by: Gwendal Grignou <gwendal@chromium.org> Commit-Queue: Gwendal Grignou <gwendal@chromium.org> Reviewed-by: Fergus Dall <sidereal@google.com>