public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2/lib/misc util.c
@ 2007-07-23 10:41 mbroz
0 siblings, 0 replies; only message in thread
From: mbroz @ 2007-07-23 10:41 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
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, '/');
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-07-23 10:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-23 10:41 LVM2/lib/misc util.c mbroz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).