diff options
Diffstat (limited to 'mdk-stage1/dietlibc/libpthread/pthread_fgetc.c')
-rw-r--r-- | mdk-stage1/dietlibc/libpthread/pthread_fgetc.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/mdk-stage1/dietlibc/libpthread/pthread_fgetc.c b/mdk-stage1/dietlibc/libpthread/pthread_fgetc.c deleted file mode 100644 index 34e79e0fe..000000000 --- a/mdk-stage1/dietlibc/libpthread/pthread_fgetc.c +++ /dev/null @@ -1,10 +0,0 @@ -#include "dietstdio.h" -#include <unistd.h> - -int fgetc(FILE *stream) { - int tmp; - pthread_mutex_lock(&stream->m); - tmp=fgetc_unlocked(stream); - pthread_mutex_unlock(&stream->m); - return tmp; -} |