diff options
Diffstat (limited to 'newlib/libc/unix/basename.c')
-rw-r--r-- | newlib/libc/unix/basename.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libc/unix/basename.c b/newlib/libc/unix/basename.c index 703e532d5..3a9cc0c19 100644 --- a/newlib/libc/unix/basename.c +++ b/newlib/libc/unix/basename.c @@ -1,3 +1,4 @@ +#ifndef _NO_BASENAME /* Copyright 2005 Shaun Jackman * Permission to use, copy, modify, and distribute this software * is freely granted, provided that this notice is preserved. @@ -23,3 +24,5 @@ _DEFUN (basename, (path), p--; return p + 1; } + +#endif /* !_NO_BASENAME */ |