mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-29 18:11:05 +00:00
This fixes several errors caused by these being defined as static while being used in the inline function i2c_handle_sda_irq(). From the C99 Draft 6.7.4.3: An inline definition of a function with external linkage shall not contain a definition of a modifiable object with static storage duration, and shall not contain a reference to an identifier with internal linkage. TEST=Build with GCC 5.3 flash and boot Reef board BUG=None BRANCH=None Change-Id: Ie487f17b92736c2a56280783267da5d3bb12b969 Signed-off-by: Martin Roth <martinroth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/367486 Reviewed-by: Randall Spangler <rspangler@chromium.org>