1
0
mirror of https://git.code.sf.net/p/fuse-emulator/fuse-utils synced 2025-07-31 06:04:29 +03:00
Files
fuse-utils/compat/unix/basename.c
Stuart Brady 5ecec62c57 Add missing includes
Legacy-ID: 5280
2015-05-27 08:59:07 +00:00

37 lines
1.0 KiB
C

/* basename.c: Extract the base portion of a pathname
Copyright (c) 1999-2007 Philip Kendall
$Id$
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Author contact information:
E-mail: philip-fuse@shadowmagic.org.uk
*/
#include <config.h>
#include <libgen.h>
#include "compat.h"
char *
compat_basename( char *path )
{
return basename( path );
}