summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2012-08-21 05:11:07 +0200
committerAnand Avati <avati@redhat.com>2012-08-20 22:22:36 -0700
commit428ff73e5f1bcb4c77f48cf38bc2059245eefec4 (patch)
treeb4b50332a3a1b93f53bc7c5496862ef1aa93ae89
parentfb1d42df1679332f2a729b16171b0c72383c9918 (diff)
NetBSD build fix
BUG: 764655 Change-Id: I65009625dfa627e0ca3b7ff2784b778d26ec04b1 Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Reviewed-on: http://review.gluster.org/3837 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
-rw-r--r--libglusterfs/src/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/compat.h b/libglusterfs/src/compat.h
index a6eec2dedca..af890485df5 100644
--- a/libglusterfs/src/compat.h
+++ b/libglusterfs/src/compat.h
@@ -340,7 +340,7 @@ char *basename_r(const char *);
#endif /* THREAD_UNSAFE_BASENAME */
#ifdef THREAD_UNSAFE_DIRNAME
-char *dirname_r(const char *path);
+char *dirname_r(char *path);
#define dirname(path) dirname_r(path)
#endif /* THREAD_UNSAFE_DIRNAME */