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>
/* 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. */
#ifdef __USE_GNU
extern void __aio_init __P ((__const struct aioinit *__init));
extern void aio_init __P ((__const struct aioinit *__init));
#endif

View 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;

View 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. */