From 3720d4b7a1b0ce0903450271aa3d93388e9d8781 Mon Sep 17 00:00:00 2001 From: Greg McGary Date: Fri, 18 Apr 1997 06:43:35 +0000 Subject: imported from id-utils-3.1 --- lib/dirname.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/dirname.c') diff --git a/lib/dirname.c b/lib/dirname.c index 09f82aa..17439e8 100644 --- a/lib/dirname.c +++ b/lib/dirname.c @@ -16,14 +16,15 @@ License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include -#include +#ifdef HAVE_CONFIG_H #include -#include "strxtra.h" +#endif +#include +#include "xstring.h" /* Return NAME with any leading path stripped off. */ -CONST char * +char * DEFUN(dirname, (name), CONST char *name) { char *base; -- cgit v1.2.3