summaryrefslogtreecommitdiff
path: root/lib/filemode.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-08-16 15:26:20 +0000
committerJim Meyering <jim@meyering.net>1998-08-16 15:26:20 +0000
commit04a86ff23ad598834b230317a487440418c12d69 (patch)
tree00b7ce23a1d8cd4d016ce130540f02bfb721de98 /lib/filemode.h
parentb32c1f0696f04b33d9b1c5a9800d526b7293484c (diff)
downloadcoreutils-04a86ff23ad598834b230317a487440418c12d69.tar.xz
(PARAMS): Define and use.
Diffstat (limited to 'lib/filemode.h')
-rw-r--r--lib/filemode.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/filemode.h b/lib/filemode.h
index 331a5d624..162e07a0d 100644
--- a/lib/filemode.h
+++ b/lib/filemode.h
@@ -1 +1,9 @@
-void mode_string (short unsigned int mode, char *str);
+#ifndef PARAMS
+# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
+# define PARAMS(Args) Args
+# else
+# define PARAMS(Args) ()
+# endif
+#endif
+
+void mode_string PARAMS ((short unsigned int mode, char *str));