Declare __aio_init.
authorUlrich Drepper <drepper@redhat.com>
Sat, 24 Oct 1998 11:06:07 +0000 (11:06 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 24 Oct 1998 11:06:07 +0000 (11:06 +0000)
include/aio.h
rt/aio.h
sysdeps/unix/sysv/linux/alpha/pathconf.c
sysdeps/unix/sysv/linux/mips/bits/fcntl.h

index c2a4145..c441606 100644 (file)
@@ -1 +1,6 @@
+#ifndef _AIO_H
 #include <rt/aio.h>
+
+/* Now define the internal interfaces.  */ 
+extern void __aio_init __P ((__const struct aioinit *__init));
+#endif
index 0432831..51effcc 100644 (file)
--- a/rt/aio.h
+++ b/rt/aio.h
@@ -132,7 +132,6 @@ enum
 
 /* Allow user to specify optimization.  */
 #ifdef __USE_GNU
-extern void __aio_init __P ((__const struct aioinit *__init));
 extern void aio_init __P ((__const struct aioinit *__init));
 #endif
 
index 15910be..24d6880 100644 (file)
@@ -51,7 +51,7 @@ __pathconf (const char *path, int name)
       struct statfs fsbuf;
 
       /* Determine the filesystem type.  */
-      if (__statfs (fd, &fsbuf) < 0)
+      if (__statfs (path, &fsbuf) < 0)
        /* not possible, return the default value.  */
        return LINK_MAX;
 
index a01dcae..0273470 100644 (file)
@@ -49,9 +49,6 @@
 
 #define O_NDELAY       O_NONBLOCK
 
-/* XXX missing */
-#define O_LARGEFILE    0
-
 /* Values for the second argument to `fcntl'.  */
 #define F_DUPFD                0       /* Duplicate file descriptor.  */
 #define F_GETFD                1       /* Get file descriptor flags.  */