Sync with upstream findfp.c.

Change-Id: Ib298f46de0c4d0fd4ce0a9b456c163e8b8b06342
This commit is contained in:
Elliott Hughes
2014-09-24 10:27:09 -07:00
parent fc5a93f7a2
commit c08c25b4c9
4 changed files with 16 additions and 10 deletions

View File

@@ -43,6 +43,8 @@ struct __sfileext {
pthread_mutex_t _lock; /* file lock */
};
__LIBC_HIDDEN__ extern struct __sfileext __sFext[3];
#define _FILEEXT_INITIALIZER {{NULL,0},{0},PTHREAD_RECURSIVE_MUTEX_INITIALIZER}
#define _EXT(fp) ((struct __sfileext *)((fp)->_ext._base))