aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/include/envlock.h
blob: 799cf7f9e73fbf2edaacfd508b0f5b19f8eb202a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* 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 __env_lock (struct _reent *reent);
void __env_unlock (struct _reent *reent);

#endif /* _INCLUDE_ENVLOCK_H_ */