summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-03-03 14:37:18 +0000
committerian <ian@FreeBSD.org>2014-03-03 14:37:18 +0000
commitc77564dd58a6c29ef43daf5197465e1bdd771a4c (patch)
treeee4103c5b763e2168b635252e78bcfaad838aa51 /sys/arm
parent8c95c97c2c1a7f39dbd324590e4b6bfe78960791 (diff)
downloadFreeBSD-src-c77564dd58a6c29ef43daf5197465e1bdd771a4c.zip
FreeBSD-src-c77564dd58a6c29ef43daf5197465e1bdd771a4c.tar.gz
Use the standard __used macro instead of a bare __attribute__.
Submitted by: bde
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/arm/mpcore_timer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arm/arm/mpcore_timer.c b/sys/arm/arm/mpcore_timer.c
index b37c0fd..4a0f23b 100644
--- a/sys/arm/arm/mpcore_timer.c
+++ b/sys/arm/arm/mpcore_timer.c
@@ -369,8 +369,7 @@ DRIVER_MODULE(mp_tmr, simplebus, arm_tmr_driver, arm_tmr_devclass, 0, 0);
* RETURNS:
* nothing
*/
-static void
-__attribute__((used)) /* Must emit function code for the weak ref below. */
+static void __used /* Must emit function code for the weak ref below. */
arm_tmr_DELAY(int usec)
{
int32_t counts_per_usec;
OpenPOWER on IntegriCloud