OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49d1727
)
- ifdef bdflush update from bug #0000011
author
Ned Ludd
<solar@gentoo.org>
Sun, 16 Jan 2005 05:08:10 +0000
(
05:08
-0000)
committer
Ned Ludd
<solar@gentoo.org>
Sun, 16 Jan 2005 05:08:10 +0000
(
05:08
-0000)
libc/sysdeps/linux/common/bdflush.c
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/common/bdflush.c
b/libc/sysdeps/linux/common/bdflush.c
index
40c7df4
..
f635c78
100644
(file)
--- a/
libc/sysdeps/linux/common/bdflush.c
+++ b/
libc/sysdeps/linux/common/bdflush.c
@@
-9,4
+9,13
@@
#include "syscalls.h"
#include <sys/kdaemon.h>
+
+#ifdef __NR_bdflush
_syscall2(int, bdflush, int, __func, long int, __data);
+#else
+int bdflush(int __func, int __data)
+{
+ __set_errno(ENOSYS);
+ return -1;
+}
+#endif