aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/getdents64.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2000-03-09 22:44:39 +0000
committerRoland McGrath <roland@gnu.org>2000-03-09 22:44:39 +0000
commit224a12bcb24482855424c7a9478c00a445f1b86a (patch)
treeb6453dcbd3bb40d72fe2034bb1f5bb48cde61bc6 /sysdeps/generic/getdents64.c
parent9ab47461ed5dbad684fdda5a82f07205e170a0df (diff)
downloadglibc-224a12bcb24482855424c7a9478c00a445f1b86a.zip
glibc-224a12bcb24482855424c7a9478c00a445f1b86a.tar.gz
glibc-224a12bcb24482855424c7a9478c00a445f1b86a.tar.bz2
* sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
argument type, for 2000-02-22 change in signal/signal.h declaration. * sysdeps/generic/getdents64.c (__getdirentries64): Renamed to getdirentries64 (no __), since the Linux implementation has no __ name, and there is no declaration for the __ name. * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro. * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up sed regexp so as not to break directory names including /../ within. * sysdeps/unix/bsd/bits/waitflags.h: File removed. The sysdeps/generic file is right for BSD. This file was in fact the Hurd file, but the only difference was the WNOREAP flag that was never actually implemented or used anywhere.
Diffstat (limited to 'sysdeps/generic/getdents64.c')
-rw-r--r--sysdeps/generic/getdents64.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/generic/getdents64.c b/sysdeps/generic/getdents64.c
index 737e8ef..7d4faf1 100644
--- a/sysdeps/generic/getdents64.c
+++ b/sysdeps/generic/getdents64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1991,95,96,97,99,2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,7 +22,7 @@
#include <dirent.h>
ssize_t
-__getdirentries64 (fd, buf, nbytes, basep)
+getdirentries64 (fd, buf, nbytes, basep)
int fd;
char *buf;
size_t nbytes;
@@ -31,7 +31,6 @@ __getdirentries64 (fd, buf, nbytes, basep)
__set_errno (ENOSYS);
return -1;
}
-weak_alias (__getdirentries64, getdirentries64)
stub_warning (getdirentries64)
#include <stub-tag.h>