summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-10-03 16:10:04 +0000
committerJim Meyering <jim@meyering.net>2007-10-03 16:10:04 +0000
commitefd83567c9c8ebe20b3adeacdc48eb3889815db6 (patch)
tree70bf0cbb8a36a4ffd7dab2712c68bbda7cfca734 /include
parent5563f373f776a180ffe18317b153dae7f49107b2 (diff)
downloadlvm2-efd83567c9c8ebe20b3adeacdc48eb3889815db6.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/.symlinks1
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