689cf874b2
Newlib 2.2.0 w/ nan ofeatures, xtensa patches, locking implementation. Built from https://github.com/projectgus/newlib-xtensa branch xtensa-2_2_0-lock commit daa6ae40cdc8099f54c3e68a586fc1b906169c5a For more details, see: https://github.com/SuperHouse/esp-open-rtos/wiki/libc-configuration Closes #1
15 lines
366 B
C
15 lines
366 B
C
/* envlock.h -- header file for env routines. */
|
|
|
|
#ifndef _INCLUDE_ENVLOCK_H_
|
|
#define _INCLUDE_ENVLOCK_H_
|
|
|
|
#include <_ansi.h>
|
|
#include <sys/reent.h>
|
|
|
|
#define ENV_LOCK __env_lock(reent_ptr)
|
|
#define ENV_UNLOCK __env_unlock(reent_ptr)
|
|
|
|
void _EXFUN(__env_lock,(struct _reent *reent));
|
|
void _EXFUN(__env_unlock,(struct _reent *reent));
|
|
|
|
#endif /* _INCLUDE_ENVLOCK_H_ */
|