mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 14:57:42 +00:00
util: Remove VIR_FILE_IS_DIR_SEPARATOR
The define is not used since virFileIsAbsPath() has been dropped. Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> Reviewed-by: Cole Robinson <crobinso@redhat.com> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
parent
c727ed4224
commit
99d0c66896
@ -285,7 +285,6 @@ char *virFileBuildPath(const char *dir,
|
||||
*/
|
||||
# define VIR_FILE_DIR_SEPARATOR '\\'
|
||||
# define VIR_FILE_DIR_SEPARATOR_S "\\"
|
||||
# define VIR_FILE_IS_DIR_SEPARATOR(c) ((c) == VIR_FILE_DIR_SEPARATOR || (c) == '/')
|
||||
# define VIR_FILE_PATH_SEPARATOR ';'
|
||||
# define VIR_FILE_PATH_SEPARATOR_S ";"
|
||||
|
||||
@ -293,7 +292,6 @@ char *virFileBuildPath(const char *dir,
|
||||
|
||||
# define VIR_FILE_DIR_SEPARATOR '/'
|
||||
# define VIR_FILE_DIR_SEPARATOR_S "/"
|
||||
# define VIR_FILE_IS_DIR_SEPARATOR(c) ((c) == VIR_FILE_DIR_SEPARATOR)
|
||||
# define VIR_FILE_PATH_SEPARATOR ':'
|
||||
# define VIR_FILE_PATH_SEPARATOR_S ":"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user