Reduce the exposure of the __set_errno implementation detail.

Change-Id: I395e1b46a9491e34fc53e71853e932ea90b3d1cc
This commit is contained in:
Elliott Hughes
2012-11-30 11:58:57 -08:00
parent 97b70b2bda
commit 4a9e837840
4 changed files with 19 additions and 28 deletions

View File

@@ -40,10 +40,6 @@ __BEGIN_DECLS
#define ENOTSUP EOPNOTSUPP
#endif
/* internal function that should *only* be called from system calls */
/* use errno = xxxx instead in C code */
extern int __set_errno(int error);
/* internal function returning the address of the thread-specific errno */
extern volatile int* __errno(void);