diff options
author | René Scharfe <l.s.r@web.de> | 2014-08-16 23:48:33 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-08-18 09:45:39 -0700 |
commit | bf7283465b42e43b8822a8575abd1a7c6c82e7c9 (patch) | |
tree | 8902206a26d80f529a7f1ece7b7f49565be302b6 /attr.c | |
parent | Windows: allow using UNC path for git repository (diff) | |
download | tgif-bf7283465b42e43b8822a8575abd1a7c6c82e7c9.tar.xz |
turn path macros into inline function
Use static inline functions instead of macros for has_dos_drive_prefix,
offset_1st_component, is_dir_sep and find_last_dir_sep in order to let
the compiler do type checking.
The definitions of offset_1st_component and is_dir_sep are switched
around because the former uses the latter.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'attr.c')
0 files changed, 0 insertions, 0 deletions