summaryrefslogtreecommitdiffstats
path: root/contrib/gnu-sort/lib/unistd-safer.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gnu-sort/lib/unistd-safer.h')
-rw-r--r--contrib/gnu-sort/lib/unistd-safer.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/gnu-sort/lib/unistd-safer.h b/contrib/gnu-sort/lib/unistd-safer.h
new file mode 100644
index 0000000..1b6a0f7
--- /dev/null
+++ b/contrib/gnu-sort/lib/unistd-safer.h
@@ -0,0 +1,9 @@
+#ifndef PARAMS
+# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
+# define PARAMS(Args) Args
+# else
+# define PARAMS(Args) ()
+# endif
+#endif
+
+int dup_safer PARAMS ((int));
OpenPOWER on IntegriCloud