projects
/
adu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cd5cfb4
)
fd.c: Make __write() static.
author
Andre Noll
<maan@tuebingen.mpg.de>
Sun, 15 Feb 2015 15:42:19 +0000
(16:42 +0100)
committer
Andre Noll
<maan@tuebingen.mpg.de>
Sun, 15 Feb 2015 15:52:44 +0000
(16:52 +0100)
It's an internal function which is only used inside fd.c, as indicated
by the leading underscores. And it does not have a prototype in fd.h.
fd.c
patch
|
blob
|
history
diff --git
a/fd.c
b/fd.c
index 9fe88679d2d88855a27a3486d4646bd1632c965f..cb6724a2c473827b36d8b3716872ebab6a0d588e 100644
(file)
--- a/
fd.c
+++ b/
fd.c
@@
-30,7
+30,7
@@
*
* \sa write(2).
*/
*
* \sa write(2).
*/
-ssize_t __write(int fd, const void *buf, size_t size)
+s
tatic s
size_t __write(int fd, const void *buf, size_t size)
{
ssize_t ret;
{
ssize_t ret;