From a346370d582ed9be5e434f955c049e75abc37c28 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 24 Apr 2006 17:01:40 +0000 Subject: * posix/bits/unistd.h (__readlinkat_chk): New prototype. (__readlinkat_alias): New alias. (readlinkat): New inline function. * include/unistd.h (readlinkat): Add libc_hidden_proto. * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Add libc_hidden_def. * io/readlinkat.c (readlinkat): Likewise. * debug/readlinkat_chk.c: New file. * debug/Makefile (routines): Add readlinkat_chk. * debug/Versions (libc): Export __readlinkat_chk@@GLIBC_2.5. * debug/tst-chk1.c (do_test): Add readlinkat tests. * nis/nss_nisplus/nisplus-netgrp.c: Cleanups. code is possible. Move compatibility code in .text.compat section. over gaih array. There is only one function to call in the moment. --- io/readlinkat.c | 1 + 1 file changed, 1 insertion(+) (limited to 'io/readlinkat.c') diff --git a/io/readlinkat.c b/io/readlinkat.c index 483dc4914d..7e6a2227d8 100644 --- a/io/readlinkat.c +++ b/io/readlinkat.c @@ -46,5 +46,6 @@ readlinkat (fd, path, buf, len) return -1; } stub_warning (readlinkat) +libc_hidden_def (readlinkat) #include -- cgit v1.2.3