maximilian attems
2011-Aug-31 22:50 UTC
[klibc] [PATCH] 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 at stro.at> --- 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 33182fc..4850429 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); } -- 1.7.5.4