Skip to content

Commit 0adac7c

Browse files
keith-packardnashif
authored andcommitted
libc/minimal: Add stub 'sys/lock.h'
This file is explicitly included by the espressif hal module. It's an internal file provided by picolibc and newlib. Provide a stub to let code designed for those to work with the minimal C library. Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 parent 74c9e7a commit 0adac7c

File tree

1 file changed

+7
-0
lines changed
  • lib/libc/minimal/include/sys

1 file changed

+7
-0
lines changed

lib/libc/minimal/include/sys/lock.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* Copyright The Zephyr Project Contributors
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* empty file for newlib compatibility */

0 commit comments

Comments
 (0)