diff options
-rw-r--r-- | lib/dirname.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/dirname.c b/lib/dirname.c index c539efbe8..483c33867 100644 --- a/lib/dirname.c +++ b/lib/dirname.c @@ -33,13 +33,15 @@ char *malloc (); # endif #endif +#include "dirname.h" + /* Return the leading directories part of PATH, allocated with malloc. If out of memory, return 0. Assumes that trailing slashes have already been removed. */ char * -dirname (char *path) +dir_name (const char *path) { char *newpath; char *slash; |