summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.h
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2010-09-21 10:49:49 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-21 10:41:13 -0700
commiteb8561e302bd83305fb093eb8cca42b4f9f62b22 (patch)
tree1432eb8e9add9b6b029aaedbc0939d8960a70b80 /cli/src/cli.h
parentbd1fa94c8e26cb34566ad460092c2089597e2b17 (diff)
cli: remove trailing slashes from brick paths
Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1659 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1659
Diffstat (limited to 'cli/src/cli.h')
-rw-r--r--cli/src/cli.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/src/cli.h b/cli/src/cli.h
index 44f653685..b8aa985b8 100644
--- a/cli/src/cli.h
+++ b/cli/src/cli.h
@@ -207,4 +207,6 @@ cli_cmd_broadcast_connected ();
int
cli_rpc_notify (struct rpc_clnt *rpc, void *mydata, rpc_clnt_event_t event,
void *data);
+void
+cli_path_strip_trailing_slashes (char *path);
#endif /* __CLI_H__ */