+2006-06-29 Eric Blake <ebb9@byu.net>
+
+ * stat_.h (rpl_mkdir): Declare inline, to avoid warnings about
+ unused static function.
+
2006-06-29 Eric Blake <ebb9@byu.net>
* stat_.h: New file.
alias mkdir), only in the nonstandard io.h. */
#if ! HAVE_DECL_MKDIR && HAVE_IO_H
# include <io.h>
-static int rpl_mkdir (char const *name, mode_t mode) { return _mkdir (name); }
+
+static inline int
+rpl_mkdir (char const *name, mode_t mode)
+{
+ return _mkdir (name);
+}
+
# define mkdir rpl_mkdir
#endif