aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2011-11-22 12:57:58 -0800
committerH. Peter Anvin <hpa@zytor.com>2011-11-22 12:57:58 -0800
commit5ff3934efa81cb8722e3c1580d5b1cbf389e2e0a (patch)
tree07d835849002de2ae46a6ed0c583c1e5913df60f
parentd84f05d6d8a452629e642659b9604a0372e6a5e6 (diff)
parent7974377940f744375bd595c45cf36fa652eee5ca (diff)
downloadklibc-5ff3934efa81cb8722e3c1580d5b1cbf389e2e0a.tar.gz
Merge branch 'master' into stdio
-rw-r--r--usr/include/sys/stat.h4
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);
}