Commit Graph

10 Commits

Author SHA1 Message Date
lilei19
41f60bd669 change strcpy to strlcpy
Change-Id: I8b9429a3c225a82842fce136bdb14b8b135066d3
Signed-off-by: lilei19 <lilei19@xiaomi.com>
2023-02-22 23:09:55 +08:00
Gregory Nutt
abd444f9ce candump.c: Must not extern optind, et al
optined, et al, are not longer simple globals variables (after incubator-nuttx PR 3170).  Redundantly externing them in application code now results in compilation errors.
2021-03-25 03:13:35 -07:00
Michal Lenc
72b3f97e24 canutils: changed print_usage function to static
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-02-17 02:27:27 -08:00
chao.an
b5692d8034 style/code: remove unnecessary trailing whitespace
N/A

Signed-off-by: chao.an <anchao@xiaomi.com>
2020-11-28 12:20:10 +01:00
YAMAMOTO Takashi
747ca594d6 canutils/candump/candump.c: Fix printf formats 2020-11-24 00:11:33 -08:00
YAMAMOTO Takashi
a875ed2be7 Revert "Fix printf compile warning regarding time_t"
This reverts commit 8cde672b5b.

NuttX's time_t is uint32_t.
It's wrong to assume it either long or int.
2020-11-24 00:11:33 -08:00
Peter van der Perk
8cde672b5b Fix printf compile warning regarding time_t 2020-11-23 18:30:25 -08:00
YAMAMOTO Takashi
086d8db204 canutils/candump/candump.c: Fix scanf format warnings 2020-11-17 20:12:08 -08:00
YAMAMOTO Takashi
d50feaa2ef canutils/candump/candump.c: Fix printf format warnings 2020-11-13 05:51:23 -08:00
Peter van der Perk
1ae2f4a304 Ported candump & cansend apps from can-utils (https://github.com/linux-can/can-utils) 2020-06-15 07:23:37 -06:00