summaryrefslogtreecommitdiff
path: root/lib/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network.h')
-rw-r--r--lib/network.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/network.h b/lib/network.h
index 9333ef81..4d9c2284 100644
--- a/lib/network.h
+++ b/lib/network.h
@@ -26,8 +26,8 @@
/* Both readn and writen are deprecated and will be removed. They are not
suitable for use with non-blocking file descriptors.
*/
-int readn (int, u_char *, int);
-int writen (int, const u_char *, int);
+extern int readn (int, u_char *, int);
+extern int writen (int, const u_char *, int);
/* Set the file descriptor to use non-blocking I/O. Returns 0 for success,
-1 on error. */