diff options
author | Dave Barach <dave@barachs.net> | 2016-08-15 11:12:27 -0400 |
---|---|---|
committer | Dave Barach <dave@barachs.net> | 2016-08-15 11:12:40 -0400 |
commit | c379999665febd12ec55bfb3a7545224f2b39d3d (patch) | |
tree | 8bf0c11e52c2162e1239b6c3f4a5f74b62a07409 /vppinfra/vppinfra/math.h | |
parent | b3d93dacfde8ab21bbce171fff2971b2ed7bce6a (diff) |
VPP-327 Coding standards cleanup for vppinfra
Fix additional a few additional deviations reported elsewhere by
checkstyle
Change-Id: I026a8ae1c5b1856bbe3c4a555e1b690e7501b045
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vppinfra/vppinfra/math.h')
-rw-r--r-- | vppinfra/vppinfra/math.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/vppinfra/vppinfra/math.h b/vppinfra/vppinfra/math.h index cedd5cf7b24..48f8c0f4b83 100644 --- a/vppinfra/vppinfra/math.h +++ b/vppinfra/vppinfra/math.h @@ -40,14 +40,24 @@ #include <vppinfra/clib.h> -always_inline f64 sqrt (f64 x) +always_inline f64 +sqrt (f64 x) { return __builtin_sqrt (x); } -always_inline f64 fabs (f64 x) +always_inline f64 +fabs (f64 x) { return __builtin_fabs (x); } #endif /* included_math_h */ + +/* + * fd.io coding-style-patch-verification: ON + * + * Local Variables: + * eval: (c-set-style "gnu") + * End: + */ |