You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/03/19 20:24:11 UTC

[incubator-nuttx-apps] branch master updated: system/ping: Don't include nuttx/lib/math.h

This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 282e44e  system/ping: Don't include nuttx/lib/math.h
282e44e is described below

commit 282e44e3e083c477ebdce3f3bfa639746b0e03b1
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sat Mar 19 23:30:58 2022 +0800

    system/ping: Don't include nuttx/lib/math.h
    
    since the mdev is calculated through function provided by fixedmath.h
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 system/ping/ping.c   | 1 -
 system/ping6/ping6.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/system/ping/ping.c b/system/ping/ping.c
index f03aa60..a01950a 100644
--- a/system/ping/ping.c
+++ b/system/ping/ping.c
@@ -30,7 +30,6 @@
 #include <stdio.h>
 #include <string.h>
 #include <errno.h>
-#include <nuttx/lib/math.h>
 #include <limits.h>
 #include <fixedmath.h>
 
diff --git a/system/ping6/ping6.c b/system/ping6/ping6.c
index d039ced..ac201d7 100644
--- a/system/ping6/ping6.c
+++ b/system/ping6/ping6.c
@@ -30,7 +30,6 @@
 #include <stdio.h>
 #include <string.h>
 #include <errno.h>
-#include <nuttx/lib/math.h>
 #include <limits.h>
 #include <fixedmath.h>