nuttx-apps/examples/pty_test
wangzhi16 32c6a6d4f8 examples/pty_test: fix compile error.
CC:  mm_heap/mm_heapmember.c pty_test.c: In function 'pts_main':
pty_test.c:244:3: error: unknown type name 'pthread_t'
  244 |   pthread_t si_thread;
      |   ^~~~~~~~~
pty_test.c:245:3: error: unknown type name 'pthread_t'
  245 |   pthread_t so_thread;
      |   ^~~~~~~~~
pty_test.c:378:9: warning: implicit declaration of function 'pthread_create'; did you mean 'timer_create'? [-Wimplicit-function-declaration]
  378 |   ret = pthread_create(&si_thread, NULL,
      |         ^~~~~~~~~~~~~~
      |         timer_create
pty_test.c:379:25: error: 'pthread_startroutine_t' undeclared (first use in this function)
  379 |                        (pthread_startroutine_t)serial_in,
      |                         ^~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: wangzhi16 <wangzhi16@xiaomi.com>
2026-04-20 15:19:35 +08:00
..
CMakeLists.txt cmake:refine cmake build for apps/examples 2026-04-20 15:11:53 +08:00
Kconfig Kconfig: Make indent consistent with TABS 2026-04-20 15:07:44 +08:00
Make.defs nshlib: support c++ access nsh api 2026-04-20 14:56:29 +08:00
Makefile Merge branch 'dev-merge-github-20230228' into dev 2026-04-20 15:12:39 +08:00
pty_test.c examples/pty_test: fix compile error. 2026-04-20 15:19:35 +08:00