summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/makepath.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/makepath.h b/lib/makepath.h
new file mode 100644
index 000000000..f555d7b4b
--- /dev/null
+++ b/lib/makepath.h
@@ -0,0 +1,16 @@
+#ifndef __P
+#if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
+#define __P(args) args
+#else
+#define __P(args) ()
+#endif /* GCC. */
+#endif /* Not __P. */
+
+int
+ make_path __P ((const char *_argpath,
+ int _mode,
+ int _parent_mode,
+ uid_t _owner,
+ gid_t _group,
+ int _preserve_existing,
+ const char *_verbose_fmt_string));