projects
/
osl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8110a5e
)
osltar.c: Make write_all() static.
author
Andre Noll
<maan@systemlinux.org>
Sun, 26 Jul 2009 21:36:23 +0000
(23:36 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Sun, 26 Jul 2009 21:36:23 +0000
(23:36 +0200)
examples/osltar/osltar.c
patch
|
blob
|
history
diff --git
a/examples/osltar/osltar.c
b/examples/osltar/osltar.c
index
3d3a640
..
06d5f4a
100644
(file)
--- a/
examples/osltar/osltar.c
+++ b/
examples/osltar/osltar.c
@@
-220,7
+220,7
@@
static int com_create(int argc, char **argv)
/**
* Write the whole buffer to a file descriptor.
*/
-ssize_t write_all(int fd, const void *buf, size_t size)
+s
tatic s
size_t write_all(int fd, const void *buf, size_t size)
{
const char *b = buf;
while (size) {