Declare __aio_init.

This commit is contained in:
Ulrich Drepper 1998-10-24 11:06:07 +00:00
parent e03c336105
commit 2bb9b13436
4 changed files with 6 additions and 5 deletions

View File

@ -1 +1,6 @@
#ifndef _AIO_H
#include <rt/aio.h> #include <rt/aio.h>
/* Now define the internal interfaces. */
extern void __aio_init __P ((__const struct aioinit *__init));
#endif

View File

@ -132,7 +132,6 @@ enum
/* Allow user to specify optimization. */ /* Allow user to specify optimization. */
#ifdef __USE_GNU #ifdef __USE_GNU
extern void __aio_init __P ((__const struct aioinit *__init));
extern void aio_init __P ((__const struct aioinit *__init)); extern void aio_init __P ((__const struct aioinit *__init));
#endif #endif

View File

@ -51,7 +51,7 @@ __pathconf (const char *path, int name)
struct statfs fsbuf; struct statfs fsbuf;
/* Determine the filesystem type. */ /* Determine the filesystem type. */
if (__statfs (fd, &fsbuf) < 0) if (__statfs (path, &fsbuf) < 0)
/* not possible, return the default value. */ /* not possible, return the default value. */
return LINK_MAX; return LINK_MAX;

View File

@ -49,9 +49,6 @@
#define O_NDELAY O_NONBLOCK #define O_NDELAY O_NONBLOCK
/* XXX missing */
#define O_LARGEFILE 0
/* Values for the second argument to `fcntl'. */ /* Values for the second argument to `fcntl'. */
#define F_DUPFD 0 /* Duplicate file descriptor. */ #define F_DUPFD 0 /* Duplicate file descriptor. */
#define F_GETFD 1 /* Get file descriptor flags. */ #define F_GETFD 1 /* Get file descriptor flags. */