diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-02-26 03:57:14 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-02-26 03:57:14 +0000 |
commit | 9921832fa13cef31006cfa69bc5574636c36ac0f (patch) | |
tree | 4faa87a1fbc9842126d3bdc61c0d64285ebcc849 /libc/stdio/remove.c | |
parent | 292e2d7a707449b531422d37cec4608d304da24e (diff) | |
download | uClibc-alpine-9921832fa13cef31006cfa69bc5574636c36ac0f.tar.bz2 uClibc-alpine-9921832fa13cef31006cfa69bc5574636c36ac0f.tar.xz |
Merge from trunk.
Diffstat (limited to 'libc/stdio/remove.c')
-rw-r--r-- | libc/stdio/remove.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libc/stdio/remove.c b/libc/stdio/remove.c index 2d4fedcc1..04ab12edb 100644 --- a/libc/stdio/remove.c +++ b/libc/stdio/remove.c @@ -5,21 +5,22 @@ * Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details. */ -#define rmdir __rmdir -#define unlink __unlink - #include "_stdio.h" #include <unistd.h> #include <errno.h> +libc_hidden_proto(rmdir) +libc_hidden_proto(unlink) + /* SUSv3 states: * If path does not name a directory, remove(path) shall be equivalent * to unlink(path). If path names a directory, remove(path) shall be * equivalent to rmdir(path). */ -int attribute_hidden __remove(register const char *filename) +libc_hidden_proto(remove) +int remove(register const char *filename) { int saved_errno = errno; int rv; @@ -30,4 +31,4 @@ int attribute_hidden __remove(register const char *filename) } return rv; } -strong_alias(__remove,remove) +libc_hidden_def(remove) |