Skip to content
Snippets Groups Projects
Commit f6482dfe authored by Avi Kivity's avatar Avi Kivity
Browse files

fs: mark pwrite64() as extern "C"

As part of the include change fallout, we no longer have a declaration for
pwrite64(), so need to mark it as extern "C".
parent 54be2062
No related branches found
No related tags found
No related merge requests found
......@@ -240,6 +240,7 @@ out_errno:
return -1;
}
extern "C"
ssize_t pwrite64(int, const void*, size_t, off_t) __attribute__((weak, alias("pwrite")));
ssize_t write(int fd, const void *buf, size_t count)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment