aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3/fopencookie.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/man3/fopencookie.3')
-rw-r--r--man/man3/fopencookie.38
1 files changed, 4 insertions, 4 deletions
diff --git a/man/man3/fopencookie.3 b/man/man3/fopencookie.3
index 62ae015e07..a0ae197b0f 100644
--- a/man/man3/fopencookie.3
+++ b/man/man3/fopencookie.3
@@ -303,7 +303,7 @@ struct memfile_cookie {
off_t offset; /* Current file offset in buf */
};
\&
-ssize_t
+static ssize_t
memfile_write(void *c, const char *buf, size_t size)
{
char *new_buff;
@@ -328,7 +328,7 @@ memfile_write(void *c, const char *buf, size_t size)
return size;
}
\&
-ssize_t
+static ssize_t
memfile_read(void *c, char *buf, size_t size)
{
ssize_t xbytes;
@@ -348,7 +348,7 @@ memfile_read(void *c, char *buf, size_t size)
return xbytes;
}
\&
-int
+static int
memfile_seek(void *c, off_t *offset, int whence)
{
off_t new_offset;
@@ -371,7 +371,7 @@ memfile_seek(void *c, off_t *offset, int whence)
return 0;
}
\&
-int
+static int
memfile_close(void *c)
{
struct memfile_cookie *cookie = c;