summaryrefslogtreecommitdiff
path: root/lib/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/error.h')
-rw-r--r--lib/error.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/error.h b/lib/error.h
new file mode 100644
index 0000000000..f7ef7e4192
--- /dev/null
+++ b/lib/error.h
@@ -0,0 +1,14 @@
+#ifndef _error_h_
+#define _error_h_
+
+#ifdef __GNUC__
+void error (int, int, const char *, ...)
+#if __GNUC__ > 1
+ __attribute__ ((format (printf, 3, 4)))
+#endif
+ ;
+#else
+void error ();
+#endif
+
+#endif /* _error_h_ */