mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
Declare __aio_init.
This commit is contained in:
parent
e03c336105
commit
2bb9b13436
@ -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
|
||||||
|
1
rt/aio.h
1
rt/aio.h
@ -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
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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. */
|
||||||
|
Loading…
Reference in New Issue
Block a user