+2008-10-26 Jim Meyering <meyering@redhat.com>
+
+ * lib/mkdir.c (rpl_mkdir) [_WIN32...]: Mark mode as an unused parameter.
+
2008-10-26 Simon Josefsson <simon@josefsson.org>
Bruno Haible <bruno@clisp.org>
alias mkdir), only in the nonstandard io.h. */
#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
# define mkdir(name,mode) _mkdir (name)
+# define maybe_unused _UNUSED_PARAMETER_
+#else
+# define maybe_unused /* empty */
#endif
/* This function is required at least for NetBSD 1.5.2. */
int
-rpl_mkdir (char const *dir, mode_t mode)
+rpl_mkdir (char const *dir, mode_t mode maybe_unused)
{
int ret_val;
char *tmp_dir;