summaryrefslogtreecommitdiff
path: root/Unix/i686-elf/include/sys/stdio.h
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-12-18 16:27:29 +0100
committerAlexis211 <alexis211@gmail.com>2009-12-18 16:27:29 +0100
commit437e65ecbdedd07105254b1b5e6a41d191a794a3 (patch)
tree5c48afbd76c5cfc4c1297fc18acb0bc71cd502b3 /Unix/i686-elf/include/sys/stdio.h
parent260347c06637f15ea93c6ad99bce4420a28bae6b (diff)
downloadMelon-437e65ecbdedd07105254b1b5e6a41d191a794a3.tar.gz
Melon-437e65ecbdedd07105254b1b5e6a41d191a794a3.zip
Revert "[nonworking commit] Started porting newlib"
This reverts commit d04645198d648a17ccb83e70aa5e6d60a06121aa.
Diffstat (limited to 'Unix/i686-elf/include/sys/stdio.h')
-rw-r--r--Unix/i686-elf/include/sys/stdio.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/Unix/i686-elf/include/sys/stdio.h b/Unix/i686-elf/include/sys/stdio.h
deleted file mode 100644
index fa9cd5d..0000000
--- a/Unix/i686-elf/include/sys/stdio.h
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef _NEWLIB_STDIO_H
-#define _NEWLIB_STDIO_H
-
-#include <sys/lock.h>
-#include <sys/reent.h>
-
-/* Internal locking macros, used to protect stdio functions. In the
- general case, expand to nothing. Use __SSTR flag in FILE _flags to
- detect if FILE is private to sprintf/sscanf class of functions; if
- set then do nothing as lock is not initialised. */
-#if !defined(_flockfile)
-#ifndef __SINGLE_THREAD__
-# define _flockfile(fp) (((fp)->_flags & __SSTR) ? 0 : __lock_acquire_recursive((fp)->_lock))
-#else
-# define _flockfile(fp)
-#endif
-#endif
-
-#if !defined(_funlockfile)
-#ifndef __SINGLE_THREAD__
-# define _funlockfile(fp) (((fp)->_flags & __SSTR) ? 0 : __lock_release_recursive((fp)->_lock))
-#else
-# define _funlockfile(fp)
-#endif
-#endif
-
-#endif /* _NEWLIB_STDIO_H */