gnu-efi/stubs-32-h.patch
2019-12-16 14:24:21 +08:00

25 lines
820 B
Diff

diff -Nur gnu-efi-3.0.6-bak/gnuefi/gnu/stubs-32.h gnu-efi-3.0.6/gnuefi/gnu/stubs-32.h
--- gnu-efi-3.0.6-bak/gnuefi/gnu/stubs-32.h 1969-12-31 19:00:00.000000000 -0500
+++ gnu-efi-3.0.6/gnuefi/gnu/stubs-32.h 2019-12-13 01:14:49.910471300 -0500
@@ -0,0 +1,20 @@
+/* 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
+
+#define __stub_chflags
+#define __stub_fattach
+#define __stub_fchflags
+#define __stub_fdetach
+#define __stub_gtty
+#define __stub_lchmod
+#define __stub_revoke
+#define __stub_setlogin
+#define __stub_sigreturn
+#define __stub_sstk
+#define __stub_stty