summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-12-20 05:05:55 +0000
committerJim Meyering <jim@meyering.net>1994-12-20 05:05:55 +0000
commiteaa5cc3f91156906d476be4946fb60efd010a1cf (patch)
tree083962f42a7690376a5d94e4b15be8c5cf3bc724 /lib
parent735c6a9adc8ec4524d2bdd8a9c7432bfaa2eabff (diff)
downloadcoreutils-eaa5cc3f91156906d476be4946fb60efd010a1cf.tar.xz
.
Diffstat (limited to 'lib')
-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 000000000..f7ef7e419
--- /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_ */