summaryrefslogtreecommitdiff
path: root/bsp/libwrap/sys/stub.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/libwrap/sys/stub.h')
-rw-r--r--bsp/libwrap/sys/stub.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/bsp/libwrap/sys/stub.h b/bsp/libwrap/sys/stub.h
new file mode 100644
index 0000000..fb5e5be
--- /dev/null
+++ b/bsp/libwrap/sys/stub.h
@@ -0,0 +1,10 @@
+/* See LICENSE of license details. */
+#ifndef _SIFIVE_SYS_STUB_H
+#define _SIFIVE_SYS_STUB_H
+
+static inline int _stub(int err)
+{
+ return -1;
+}
+
+#endif /* _SIFIVE_SYS_STUB_H */