summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/makepath.h32
1 files changed, 11 insertions, 21 deletions
diff --git a/lib/makepath.h b/lib/makepath.h
index f5ece90cc..6c66ce714 100644
--- a/lib/makepath.h
+++ b/lib/makepath.h
@@ -1,22 +1,12 @@
-#ifndef PARAMS
-# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-# define PARAMS(Args) Args
-# else
-# define PARAMS(Args) ()
-# endif
-#endif
+int make_path (const char *_argpath,
+ int _mode,
+ int _parent_mode,
+ uid_t _owner,
+ gid_t _group,
+ int _preserve_existing,
+ const char *_verbose_fmt_string);
-int
-make_path PARAMS ((const char *_argpath,
- int _mode,
- int _parent_mode,
- uid_t _owner,
- gid_t _group,
- int _preserve_existing,
- const char *_verbose_fmt_string));
-
-int
-make_dir PARAMS ((const char *dir,
- const char *dirpath,
- mode_t mode,
- int *created_dir_p));
+int make_dir (const char *dir,
+ const char *dirpath,
+ mode_t mode,
+ int *created_dir_p);