diff options
Diffstat (limited to 'newlib/libc/posix/telldir.c')
-rw-r--r-- | newlib/libc/posix/telldir.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/newlib/libc/posix/telldir.c b/newlib/libc/posix/telldir.c index 6022bbe19..4e51114fd 100644 --- a/newlib/libc/posix/telldir.c +++ b/newlib/libc/posix/telldir.c @@ -74,6 +74,9 @@ __LOCK_INIT(static, dd_hash_lock); /* * return a pointer into a directory */ + +#ifndef _ELIX_LEVEL || _ELIX_LEVEL >= 2 + long telldir(dirp) DIR *dirp; @@ -102,6 +105,8 @@ telldir(dirp) return (index); } +#endif /* !_ELIX_LEVEL || _ELIX_LEVEL >= 2 */ + /* * seek to an entry in a directory. * Only values returned by "telldir" should be passed to seekdir. |