mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 19:04:45 +03:00
libzfs: constify zfs_strip_partition(), zfs_strip_path()
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13413
This commit is contained in:
+2
-2
@@ -97,8 +97,8 @@ _LIBZUTIL_H int zfs_append_partition(char *path, size_t max_len);
|
||||
_LIBZUTIL_H int zfs_resolve_shortname(const char *name, char *path,
|
||||
size_t pathlen);
|
||||
|
||||
_LIBZUTIL_H char *zfs_strip_partition(char *);
|
||||
_LIBZUTIL_H char *zfs_strip_path(char *);
|
||||
_LIBZUTIL_H char *zfs_strip_partition(const char *);
|
||||
_LIBZUTIL_H const char *zfs_strip_path(const char *);
|
||||
|
||||
_LIBZUTIL_H int zfs_strcmp_pathname(const char *, const char *, int);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user