aboutsummaryrefslogtreecommitdiff
path: root/REORG.TODO/include/stubs-prologue.h
diff options
context:
space:
mode:
Diffstat (limited to 'REORG.TODO/include/stubs-prologue.h')
-rw-r--r--REORG.TODO/include/stubs-prologue.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/REORG.TODO/include/stubs-prologue.h b/REORG.TODO/include/stubs-prologue.h
new file mode 100644
index 0000000000..0577bc6a5f
--- /dev/null
+++ b/REORG.TODO/include/stubs-prologue.h
@@ -0,0 +1,14 @@
+@ These lines with @ are omitted from the generated output.
+@ This file gives the initial contents of gnu/stubs.h, to which
+@ all the #define __stub_foo lines get appended by the makefile rule.
+@
+/* This file is automatically generated.
+ It defines a symbol `__stub_FUNCTION' for each function
+ in the C library which is a stub, meaning it will fail
+ every time called, usually setting errno to ENOSYS. */
+
+#ifdef _LIBC
+ #error Applications may not define the macro _LIBC
+#endif
+
+@ Placeholder line so we remember to keep the preceding blank line here.