summaryrefslogtreecommitdiffstats
path: root/lib/libncp/ncpl_file.c
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>1999-10-31 03:39:03 +0000
committerbp <bp@FreeBSD.org>1999-10-31 03:39:03 +0000
commitc763e1b076eb84b549b0ef6eacfb693115ad652d (patch)
tree25eb0b1c241046eb4a80842143d329050fa11867 /lib/libncp/ncpl_file.c
parentb57c214bcc798094ac9d02b7cd0fb77213049fe7 (diff)
downloadFreeBSD-src-c763e1b076eb84b549b0ef6eacfb693115ad652d.zip
FreeBSD-src-c763e1b076eb84b549b0ef6eacfb693115ad652d.tar.gz
Add support for C++ in the headers. Some style cleanup.
Pointed by: bde
Diffstat (limited to 'lib/libncp/ncpl_file.c')
-rw-r--r--lib/libncp/ncpl_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libncp/ncpl_file.c b/lib/libncp/ncpl_file.c
index e305bc0..ab8bb76 100644
--- a/lib/libncp/ncpl_file.c
+++ b/lib/libncp/ncpl_file.c
@@ -44,7 +44,7 @@
#include <nwfs/nwfs.h>
int
-ncp_read(int connid, ncp_fh *fh, off_t offset, size_t count, char *target) {
+ncp_read(NWCONN_HANDLE connid, ncp_fh *fh, off_t offset, size_t count, char *target) {
int result;
struct ncp_rw rwrq;
DECLARE_RQ;
@@ -62,7 +62,7 @@ ncp_read(int connid, ncp_fh *fh, off_t offset, size_t count, char *target) {
}
int
-ncp_write(int connid, ncp_fh *fh, off_t offset, size_t count, char *source)
+ncp_write(NWCONN_HANDLE connid, ncp_fh *fh, off_t offset, size_t count, char *source)
{
int result;
struct ncp_rw rwrq;
OpenPOWER on IntegriCloud