diff options
Diffstat (limited to 'lib/misc')
-rw-r--r-- | lib/misc/lvm-file.c | 1 | ||||
-rw-r--r-- | lib/misc/lvm-globals.c | 1 | ||||
-rw-r--r-- | lib/misc/sharedlib.c | 2 | ||||
-rw-r--r-- | lib/misc/util.c | 22 |
4 files changed, 0 insertions, 26 deletions
diff --git a/lib/misc/lvm-file.c b/lib/misc/lvm-file.c index d71737b7..b8e49cb3 100644 --- a/lib/misc/lvm-file.c +++ b/lib/misc/lvm-file.c @@ -15,7 +15,6 @@ #include "lib.h" #include "lvm-file.h" -#include "lvm-string.h" #include <unistd.h> #include <sys/stat.h> diff --git a/lib/misc/lvm-globals.c b/lib/misc/lvm-globals.c index e1512f90..1c72f85a 100644 --- a/lib/misc/lvm-globals.c +++ b/lib/misc/lvm-globals.c @@ -17,7 +17,6 @@ #include "device.h" #include "memlock.h" #include "lvm-string.h" -#include "lvm-file.h" #include "defaults.h" #include "metadata-exported.h" diff --git a/lib/misc/sharedlib.c b/lib/misc/sharedlib.c index 48fa522b..4c2d1782 100644 --- a/lib/misc/sharedlib.c +++ b/lib/misc/sharedlib.c @@ -15,9 +15,7 @@ #include "lib.h" #include "config.h" -#include "lvm-string.h" #include "sharedlib.h" -#include "toolcontext.h" #include <limits.h> #include <sys/stat.h> diff --git a/lib/misc/util.c b/lib/misc/util.c deleted file mode 100644 index 75c7afab..00000000 --- a/lib/misc/util.c +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (C) 2007 Red Hat, Inc. All rights reserved. - * - * This file is part of LVM2. - * - * This copyrighted material is made available to anyone wishing to use, - * modify, copy, or redistribute it subject to the terms and conditions - * of the GNU Lesser General Public License v.2.1. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* - * Return the address of the last file name component of NAME. - * If NAME ends in a slash, return the empty string. - */ - -#include "lib.h" - -/* empty for now. */ |