forked from openvela/nuttx-apps
apps/system/perf-tools/builtin-write.c:58:17: error: implicit declaration of function 'getopt' [-Werror=implicit-function-declaration]
58 | while ((opt = getopt(argc, (char **)argv, "a:s:")) != ERROR)
| ^~~~~~
apps/system/perf-tools/builtin-write.c:63:28: error: 'optarg' undeclared (first use in this function)
63 | addr = strtoul(optarg, NULL, 16);
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| Makefile | ||
| builtin-help.c | ||
| builtin-list.c | ||
| builtin-record.c | ||
| builtin-stat.c | ||
| builtin-version.c | ||
| builtin-write.c | ||
| builtin.h | ||
| evlist.c | ||
| evlist.h | ||
| evsel.c | ||
| evsel.h | ||
| parse-options.c | ||
| parse-options.h | ||
| perf.c | ||