diff options
author | Jim Meyering <jim@meyering.net> | 2007-10-03 16:10:04 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-10-03 16:10:04 +0000 |
commit | 4df0c1507406c8556d79528204aa05bc53441077 (patch) | |
tree | 70bf0cbb8a36a4ffd7dab2712c68bbda7cfca734 /include | |
parent | d634df5764b76c4baf7a2329cc11a35c08fd9350 (diff) | |
download | lvm2-4df0c1507406c8556d79528204aa05bc53441077.tar.gz |
Fix the fsadm build failure without using -llvm.
* lib/misc/util.c (last_path_component): Move definition to ...
* lib/misc/last-path-component.h (last_path_component): ...here.
New file. Make the function "static inline".
* include/.symlinks: Add last-path-component.h.
* lib/misc/util.h (last_path_component): Remove declaration.
* tools/fsadm/fsadm.c: Include "last-path-component.h".
* tools/lvmcmdline.c: Likewise.
Author: Jim Meyering <meyering@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/.symlinks | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/.symlinks b/include/.symlinks index a127e2cfa..7c54d9e6a 100644 --- a/include/.symlinks +++ b/include/.symlinks @@ -39,6 +39,7 @@ ../lib/misc/crc.h ../lib/misc/intl.h ../lib/misc/util.h +../lib/misc/last-path-component.h ../lib/misc/lib.h ../lib/misc/lvm-exec.h ../lib/misc/lvm-file.h |