diff options
author | Greg McGary <greg@mcgary.org> | 1997-04-18 06:43:35 +0000 |
---|---|---|
committer | Greg McGary <greg@mcgary.org> | 1997-04-18 06:43:35 +0000 |
commit | 3720d4b7a1b0ce0903450271aa3d93388e9d8781 (patch) | |
tree | 12200295d735bf3d1bcaaf8d2065547d41cea3b2 /lib/dirname.c | |
parent | 916418ea1284e6aa64f50eba077e48ced5944acc (diff) | |
download | idutils-3720d4b7a1b0ce0903450271aa3d93388e9d8781.tar.gz idutils-3720d4b7a1b0ce0903450271aa3d93388e9d8781.tar.bz2 idutils-3720d4b7a1b0ce0903450271aa3d93388e9d8781.zip |
imported from id-utils-3.1r3_1
Diffstat (limited to 'lib/dirname.c')
-rw-r--r-- | lib/dirname.c | 9 |
1 files changed, 5 insertions, 4 deletions
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 <ansidecl.h> -#include <string.h> +#ifdef HAVE_CONFIG_H #include <config.h> -#include "strxtra.h" +#endif +#include <ansidecl.h> +#include "xstring.h" /* Return NAME with any leading path stripped off. */ -CONST char * +char * DEFUN(dirname, (name), CONST char *name) { char *base; |