summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys/stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/sys/stdio.h')
-rw-r--r--newlib/libc/include/sys/stdio.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/stdio.h b/newlib/libc/include/sys/stdio.h
new file mode 100644
index 000000000..8177322a0
--- /dev/null
+++ b/newlib/libc/include/sys/stdio.h
@@ -0,0 +1,14 @@
+#ifndef _NEWLIB_STDIO_H
+#define _NEWLIB_STDIO_H
+
+/* Internal locking macros, used to protect stdio functions. In the
+ general case, expand to nothing. */
+#if !defined(_flockfile)
+# define _flockfile(fp)
+#endif
+
+#if !defined(_funlockfile)
+# define _funlockfile(fp)
+#endif
+
+#endif /* _NEWLIB_STDIO_H */