diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-02-09 11:52:51 +0400 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2022-07-15 16:26:49 +0100 |
commit | dcdb992dd20112504366b25792e2a7bc64560684 (patch) | |
tree | c117f9152519e0d5850802024bcd8681f7074d8e /dbus/dbus-internals.c | |
parent | d98c98d1e512dc1ef1c5c4544ede64e0720a1b61 (diff) | |
download | dbus-dcdb992dd20112504366b25792e2a7bc64560684.tar.gz |
dbus: move DBUS_IS_DIR_SEPARATOR to dbus-internals.h
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'dbus/dbus-internals.c')
-rw-r--r-- | dbus/dbus-internals.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/dbus/dbus-internals.c b/dbus/dbus-internals.c index ea0ffdd5..2c433677 100644 --- a/dbus/dbus-internals.c +++ b/dbus/dbus-internals.c @@ -334,18 +334,7 @@ _dbus_verbose_init (void) } } -/** @def DBUS_IS_DIR_SEPARATOR(c) - * macro for checking if character c is a patch separator - * - * @todo move to a header file so that others can use this too - */ -#ifdef DBUS_WIN -#define DBUS_IS_DIR_SEPARATOR(c) (c == '\\' || c == '/') -#else -#define DBUS_IS_DIR_SEPARATOR(c) (c == '/') -#endif - -/** +/** remove source root from file path the source root is determined by */ |