From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6704 invoked by alias); 23 Jul 2007 10:41:20 -0000 Received: (qmail 6690 invoked by uid 9664); 23 Jul 2007 10:41:19 -0000 Date: Mon, 23 Jul 2007 10:41:00 -0000 Message-ID: <20070723104119.6688.qmail@sourceware.org> From: mbroz@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/lib/misc util.c Mailing-List: contact lvm2-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: lvm2-cvs-owner@sourceware.org X-SW-Source: 2007-07/txt/msg00026.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: mbroz@sourceware.org 2007-07-23 10:41:19 Modified files: lib/misc : util.c Log message: Fix compilation warning in util.c. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/misc/util.c.diff?cvsroot=lvm2&r1=1.1&r2=1.2 --- LVM2/lib/misc/util.c 2007/07/20 15:48:39 1.1 +++ LVM2/lib/misc/util.c 2007/07/23 10:41:19 1.2 @@ -16,6 +16,9 @@ * Return the address of the last file name component of NAME. * If NAME ends in a slash, return the empty string. */ + +#include "lib.h" + char *last_path_component(char const *name) { char const *slash = strrchr (name, '/');