diff options
author | maximilian attems <max@stro.at> | 2011-09-01 00:43:58 +0200 |
---|---|---|
committer | maximilian attems <max@stro.at> | 2011-09-01 00:50:13 +0200 |
commit | 7974377940f744375bd595c45cf36fa652eee5ca (patch) | |
tree | e52416b32eae978df1de2f5d96bb397486ff6036 | |
parent | ee8d5635fb901bd19d5919c9407c30db2e6a5051 (diff) | |
download | klibc-7974377940f744375bd595c45cf36fa652eee5ca.tar.gz |
[klibc] include: [sys/stat.h] add mkfifo declaration
Function was around since longer.
Seen while trying to configure against lvm2.
Signed-off-by: maximilian attems <max@stro.at>
-rw-r--r-- | usr/include/sys/stat.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/include/sys/stat.h b/usr/include/sys/stat.h index 33182fca28dd8..4850429634378 100644 --- a/usr/include/sys/stat.h +++ b/usr/include/sys/stat.h @@ -70,7 +70,9 @@ __extern int lstat(const char *, struct stat *); __extern mode_t umask(mode_t); __extern int mknod(const char *, mode_t, dev_t); __extern int mknodat(int, const char *, const char *, mode_t, dev_t); -static __inline__ int mkfifo(const char *__p, mode_t __m) +__extern int mkfifo(const char *, mode_t); + +__extern_inline int mkfifo(const char *__p, mode_t __m) { return mknod(__p, (__m & ~S_IFMT) | S_IFIFO, (dev_t) 0); } |