summaryrefslogtreecommitdiff
path: root/lib/save-cwd.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/save-cwd.h')
-rw-r--r--lib/save-cwd.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/save-cwd.h b/lib/save-cwd.h
index fbd3994f96..27b2cef800 100644
--- a/lib/save-cwd.h
+++ b/lib/save-cwd.h
@@ -7,17 +7,17 @@ struct saved_cwd
char *name;
};
-# ifndef __P
-# if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
-# define __P(args) args
+# ifndef PARAMS
+# if __STDC__
+# define PARAMS(Args) Args
# else
-# define __P(args) ()
-# endif /* GCC. */
-# endif /* Not __P. */
+# define PARAMS(Args) ()
+# endif
+# endif
-int save_cwd __P((struct saved_cwd *cwd));
-int restore_cwd __P((const struct saved_cwd *cwd, const char *dest,
- const char *from));
-void free_cwd __P((struct saved_cwd *cwd));
+int save_cwd PARAMS ((struct saved_cwd *cwd));
+int restore_cwd PARAMS ((const struct saved_cwd *cwd, const char *dest,
+ const char *from));
+void free_cwd PARAMS ((struct saved_cwd *cwd));
#endif /* SAVE_CWD_H */